- 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 """.
5 Answers
+ 5
print ( """1.
2.
3.
4.
5.
6.
7.
8.
9.""")
+ 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
+ 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!
+ 2
for i in range(1,10):
print(f"{i}.")