- 3

I need your help for a exercises in pynthon.

You need to make a program for a leaderboard. The program needs to output the numbers 1 to 9, each on a separate line, followed by a dot: 1. 2. 3. ...

23rd Jan 2022, 5:28 PM
CSR
6 ответов
+ 3
It's fascinating how many people want to be programmers, but can't even spell the name of the programming language they're using. It's not like attention to detail is important for programming ...
23rd Jan 2022, 6:11 PM
Simon Sauter
Simon Sauter - avatar
+ 2
Carlos Santiago Reina Lesson 10.1 of Python for Beginners is all about printing strings and creating new lines. Your answer is there
23rd Jan 2022, 6:12 PM
Rik Wittkopp
Rik Wittkopp - avatar
+ 1
lol, which language is this? "pynthon"?
23rd Jan 2022, 5:29 PM
Muhammad Ali
Muhammad Ali - avatar
+ 1
it's very simple bro. use for loop and range function ¯\_(ツ)_/¯
23rd Jan 2022, 5:33 PM
Muhammad Ali
Muhammad Ali - avatar
+ 1
Gracias a todos y sobre todo a Rik por su buena onda. Thanks RIK: I was able to do well. A los demas si no van a aportar no comenten. Esto va para Simon.
23rd Jan 2022, 6:35 PM
CSR
- 1
dot = '.' n =int(input('range for dots')) for i in range(n): print(str(i)+dot+ ' ') with open('file','a+') as f: f.write(str(i)+dot+ ' ')
25th Jan 2022, 7:12 AM
Saad Khan
Saad Khan - avatar