Sololearn: Learn to Code
New course! Every coder should learn Generative AI!
Try a free lesson
+ 4
What have you tried so far?
15th May 2021, 10:14 AM
David Ashton
David Ashton - avatar
+ 4
You're missing print statement in your 2nd solution
15th May 2021, 11:16 AM
Simba
Simba - avatar
+ 4
Guys thks it's finally solved🙌🙌
15th May 2021, 11:24 AM
Leon Barigye
Leon Barigye - avatar
+ 3
Leon Barigye , i think you are talking about python. to generate the number from n to n1, you can use: ▪︎while loop with a counter variable that will be incremented or ▪︎a for loop with range of numbers but as i have seen in your profile that you joined sololearn and started with python just 2 days ago. so you may go forward a bit too fast, because it takes some time to get familiar with all this new things . you may go back in the tutorial to repeat some parts and also do some basic exercises. after that, it may be easier for you to complete the task. happy coding and good success!
15th May 2021, 10:28 AM
Lothar
Lothar - avatar
+ 2
Specify the language please
15th May 2021, 12:53 PM
Atul [Inactive]
+ 2
David Ashton its the leaderboard project from the Python beginner course 👍😉
15th May 2021, 6:09 PM
tooselfish
tooselfish - avatar
+ 1
I tired print(1.\n 2.\n 3.\n 4............\n 9)
15th May 2021, 10:23 AM
Leon Barigye
Leon Barigye - avatar
+ 1
I also tried ("""1. 2. 3. 4. 5. 6. 7. 8. 9.""")
15th May 2021, 10:24 AM
Leon Barigye
Leon Barigye - avatar
+ 1
Lothar l didn't get your solution
15th May 2021, 10:35 AM
Leon Barigye
Leon Barigye - avatar
+ 1
Leon Barigye , i gave you some hints, but to make a solution is your part happy coding!
15th May 2021, 10:53 AM
Lothar
Lothar - avatar
+ 1
If you save your code and mark it Public, then others can see it too.
15th May 2021, 3:06 PM
David Ashton
David Ashton - avatar
+ 1
for i in range(1,10): print(i) python
16th May 2021, 3:38 PM
Somil Khandelwal
+ 1
try print(i , ".")
16th May 2021, 4:04 PM
Somil Khandelwal
+ 1
It looks like: 1 . 2 .
16th May 2021, 4:11 PM
tooselfish
tooselfish - avatar
+ 1
have u tried this print("1.") print("2.")
16th May 2021, 4:20 PM
Somil Khandelwal
+ 1
Use Cout<<endl;
16th May 2021, 4:21 PM
Sparten
Sparten - avatar
+ 1
Leon Barigye It seems your question appears to be an assignment. Please show us your attempt and use the 8 rules to get help from the community. https://www.sololearn.com/Blog/38/8-simple-rules-to-get-help-from-the-community *can be a code coach solution which is meant for you to do to help you establish your skills abilities and where you need to learn... not the community *one issued by a school or other institution *one issued or created by another platform *one that appears to be in the form of a challenge that was created by you or somewhere else. Your question has been reviewed and will be marked for deletion. https://www.sololearn.com/Discuss/1316935/?ref=app
16th May 2021, 5:04 PM
BroFar
BroFar - avatar
0
Somil Khandelwal and where are the dots in your solution?
16th May 2021, 3:57 PM
tooselfish
tooselfish - avatar
0
print ("1.\n2.\n3.\n4.\n5.\n6.\n7.\n8.\n9.")
16th May 2021, 4:05 PM
tooselfish
tooselfish - avatar
0
Somil Khandelwal Yeah, nice, but does not work 👍😉
16th May 2021, 4:07 PM
tooselfish
tooselfish - avatar