Challenge : Floyd's triangle. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 9

Challenge : Floyd's triangle.

a Floyd's triangle is triangle that is infinite because numbers are infinite.. or say it is a set of natural numbers... But u can use user input. The Floyd's triangle looks like this 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17etc... Try it best Do it on your own way.... Thanks to try and I hope u can easily complete this challenge....

27th Jan 2018, 10:37 AM
Anjali Kushwaha
Anjali  Kushwaha - avatar
24 Answers
28th Jan 2018, 11:59 AM
Prabha_I
Prabha_I - avatar
28th Jan 2018, 10:13 AM
Gaurav Agrawal
Gaurav Agrawal - avatar
+ 20
https://code.sololearn.com/cXBL12198Iza/?ref=app
2nd Apr 2018, 6:47 PM
Danijel Ivanović
Danijel Ivanović - avatar
28th Jan 2018, 11:13 AM
Danijel Ivanović
Danijel Ivanović - avatar
+ 11
https://code.sololearn.com/cUl07LlFzXzT/?ref=app
27th Jan 2018, 11:05 AM
Louis
Louis - avatar
28th Jan 2018, 11:46 AM
Danijel Ivanović
Danijel Ivanović - avatar
+ 11
Jara yes , 2nd loop print num & 1st loop updates condition of 2nd , the variable "numInRow" is changed by 1st loop only👍
4th Nov 2018, 6:57 PM
Gaurav Agrawal
Gaurav Agrawal - avatar
28th Jan 2018, 12:43 PM
Infinity
Infinity - avatar
+ 8
This is my code for Floyd's Traingle. https://code.sololearn.com/WPviGNrKysjT/?ref=app
29th Jan 2018, 8:30 PM
UnknownYmous
+ 7
https://code.sololearn.com/cJp80ZkRZ270/?ref=app
29th Jan 2018, 9:32 PM
Saurabh Tiwari
Saurabh Tiwari - avatar
+ 5
https://code.sololearn.com/c5PAMyO00QZq/?ref=app
27th Jan 2018, 1:44 PM
capsloth
capsloth - avatar
28th Jan 2018, 4:02 AM
Anjali Kushwaha
Anjali  Kushwaha - avatar
+ 5
I did it. I finally made a code 😃 actually codes. First version : input is the number of rows you want to see. Second version: how many numbers you want to see. https://code.sololearn.com/ctjylIOVyJFL/?ref=app https://code.sololearn.com/c2tzrM7Kg46A/?ref=app
30th Jan 2018, 11:45 PM
voja
voja - avatar
31st Jan 2018, 12:37 AM
Vladislav Tikhiy (SILENT)
Vladislav Tikhiy (SILENT) - avatar
+ 4
hey I need more in all languages
28th Jan 2018, 4:01 AM
Anjali Kushwaha
Anjali  Kushwaha - avatar
+ 4
okay
28th Jan 2018, 10:13 AM
Anjali Kushwaha
Anjali  Kushwaha - avatar
+ 3
https://code.sololearn.com/czZlr9QGH2Vb/?ref=app Less pythonic than Louis’ code
27th Jan 2018, 7:44 PM
Marco Polidori
Marco Polidori - avatar
28th Jan 2018, 11:04 PM
Murillo Pyaia
Murillo Pyaia - avatar
+ 2
https://code.sololearn.com/c8mmBBr8Dz8P/?ref=app
28th Jan 2018, 1:36 PM
...