0
Print a function
n = int(input()) def print(n): for n in range(1, n+1): print(n, end=" ") this is my code! It should take an integer for example 3 and it should output 123. WARNING: Please don't directly give me an answer Just tell me what is wrong in my code! Thank you stay safe!
2 odpowiedzi
+ 2
Ailana
print is inbuilt and reserved function so you should not make method with same name.
+ 1
Ok thanks! Have a nice day!