Printing a List of Numbers in Python

refactormyself profile image Bolarinwa Saheed Olayemi ・1 min read

Converting a list to string includes the brackets

  • You cannot stop print() from putting a comma inside your list
  • You cannot directly print a map result
  • You need to map the list to the str() and then join
  • You may want to understand how lists are represented internally


markdown guide