+ 4
Make an any form of triangle in 1 line of codes .in any language..
14 Answers
+ 5
https://code.sololearn.com/c0JzevTg3hAI/?ref=app
Yep then this is different from yours
+ 4
that is an example for you to make another
+ 4
@$Vengat its not one line
+ 4
@Vengat thanks..
+ 4
great!.. actually i started learning python yesterday.
+ 4
thanks . maybe i learn it later
+ 3
This one is different as in yours is a for loop, mine is a generator
+ 3
what generator is that??
+ 3
HTML:
<div style="width:0;height:0;border-left:40vw solid transparent;border-right:40vw solid transparent;border-bottom:80vw solid #1080a0;"></div>
https://code.sololearn.com/Wc7aRFAdApQk/?ref=app
+ 3
SVG:
<svg><path d="m20.75,114.75l54.5,-94l54.5,94l-109,0z"></svg>
https://code.sololearn.com/W6v1f0jL4WFM/?ref=app
https://code.sololearn.com/W2g0wL5iSewd/?ref=app
+ 2
You must make it list for it to run proper
+ 2
It generates numbers.
+ 1
If you did it, why is it a challenge?