0
You need to make a program for a leaderboard. The program needs to output the numbers 1 to 9, each on a separate line,
Please help
3 Answers
+ 5
Post your code attempts so we can help out!
+ 2
You just need to learn basics how loop works and how to take input after that you will be able to solve this problem
+ 1
a=int(input())
b=0
for i in range(1,a):
b=b+1
print(b)
I think it works...
You just go through the basic syntaxes in python beginners....it will be helpful...