Skip to content

Instantly share code, notes, and snippets.

@liacost2003
Created August 29, 2017 18:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save liacost2003/72b65f0d3d0e9039cdbc41994756e51d to your computer and use it in GitHub Desktop.
Save liacost2003/72b65f0d3d0e9039cdbc41994756e51d to your computer and use it in GitHub Desktop.
# Exercise 2.1 (1 points)
#
# Loop through the numbers 0 to 10 (10 included) and concatenate a string
# with the numbers comma-separated. You should have a comma at the end of the
# string.
#
# Answer with the string.
#
# Write your code below and put the answer into the variable ANSWER.
#
for i in range(11):
ANSWER = str(print(i, end = ","))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment