0

from__future__import print_function

from __future__ import print_function n = int(input()) for i in range(n): print (i+1,end="") Not sure how to read this code (never used an import before)? n is inputting a number in the range of n print said integer plus 1 end="" prints everything on the same line

6th May 2019, 12:57 AM
tristach605
tristach605 - avatar
3 Answers
+ 1
Thanks, Swim:).
6th May 2019, 8:27 AM
tristach605
tristach605 - avatar