- 4

Hello please help me 🙏🙏

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. ... You can use the \n newline character to create line breaks, or, alternatively, create the desired output using three double quotes """.

16th Oct 2021, 5:56 AM
UnTamed Fury
UnTamed Fury - avatar
5 Answers
+ 5
print ( """1. 2. 3. 4. 5. 6. 7. 8. 9.""")
16th Oct 2021, 6:36 AM
sofia badri
sofia badri - avatar
+ 6
sofia badri , Mladen , you are showing a really nice code to help someone solving a task. we all appreciate this very much!  (this is my personal statement - but it is not to criticize someone !!) but there is an issue by giving a ready solution, when the op has not done and shown his attempt first. as a part of the community i believe that learning by doing is more helpful, than just using a shared solution. we should act more as a mentor.  it is a very successful way when we are giving hints and help, so that the op is able to solve his task by himself. it would be great if you are going to help us to keep sololearn what it is: â–Șa unique place to learn (we are a "self" learning platform!) â–Șan absolutely great community that is willing to help other people  â–Șa great resource of people which has an unbelievable knowledge in coding and a long lasting experience â–Șa place to meet people and to discuss with them all the possible points of view thanks for your understanding
16th Oct 2021, 1:47 PM
Lothar
Lothar - avatar
+ 5
Prince Tamoli , to get useful help from the community,  we need to see your attempt first. without having seen your code, it is difficult to find out where the issue is. => please put your code in playground and link it here thanks!
16th Oct 2021, 1:48 PM
Lothar
Lothar - avatar
+ 2
for i in range(1,10): print(f"{i}.")
16th Oct 2021, 6:50 AM
Devnull
Devnull - avatar