+ 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....
26 Antworten
+ 20
mine try in ruby
https://code.sololearn.com/cNI4ZeFVDyXn/?ref=app
+ 20
https://code.sololearn.com/cXBL12198Iza/?ref=app
+ 11
https://code.sololearn.com/cUl07LlFzXzT/?ref=app
+ 11
Jara yes , 2nd loop print num & 1st loop updates condition of 2nd , the variable "numInRow" is changed by 1st loop only👍
+ 8
This is my code for Floyd's Traingle.
https://code.sololearn.com/WPviGNrKysjT/?ref=app
+ 7
https://code.sololearn.com/cJp80ZkRZ270/?ref=app
+ 5
https://code.sololearn.com/c5PAMyO00QZq/?ref=app
+ 5
wanna see mine see this
https://code.sololearn.com/c4RZsXKFefKc/?ref=app
+ 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
+ 4
hey I need more in all languages
+ 4
okay
+ 3
https://code.sololearn.com/czZlr9QGH2Vb/?ref=app
Less pythonic than Louis’ code
+ 2
https://code.sololearn.com/c8mmBBr8Dz8P/?ref=app