Skip to content

Instantly share code, notes, and snippets.

@liacost2003
Created August 29, 2017 18:16
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
# 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