☔UMBRELLA [CHALLANGE]☔ | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 31

☔UMBRELLA [CHALLANGE]☔

Challange by D_Stark Create a program that has a drawing of an umbrella which moves randomly in the rain. The rain has to be above and both sides of the umbrella but not underneath can you do it? I will ✔ my favorite! Good luck Heres an example of mine https://code.sololearn.com/cxc7QqplU45I/?ref=app

29th Nov 2017, 1:55 PM
D_Stark
D_Stark - avatar
19 Answers
3rd Dec 2017, 1:59 AM
Jonathan Pizarra (JS Challenger)
Jonathan Pizarra (JS Challenger) - avatar
+ 35
i know it , u write 1 line & output 5 line & i write 5 line to output 1 line //generally @LukArToDo //yerucham do the same , i need more experience & knowledge ☺
30th Nov 2017, 8:57 AM
Gaurav Agrawal
Gaurav Agrawal - avatar
+ 34
my try is there 👆 @stark ☺ //btw david , i think my umbrella is looking something else 😂😂😂
30th Nov 2017, 8:46 AM
Gaurav Agrawal
Gaurav Agrawal - avatar
+ 32
here is my try , //i 2 loops used , might lukartodo will do it without them😑😉☺👏👏👏 // & a nice challenge ☺ //1 more thing , i am not able to make a good umbrella , can u suggest me 1 https://code.sololearn.com/cCaQGNcJv6j3/?ref=app
30th Nov 2017, 12:20 AM
Gaurav Agrawal
Gaurav Agrawal - avatar
+ 32
okh@stark //u r lying , u r having more umbrellas in ur code name //btw i also need 1 only
30th Nov 2017, 9:59 AM
Gaurav Agrawal
Gaurav Agrawal - avatar
+ 28
yeah , i see that ur umbrella is moving in horizontally as well as vertically like mine one & no loops //i have the link saved for future reading , u given to replace loops but i hv not studied it yet... thats called real lazy@LukArToDo //david u should also move ur umbrella in both perpendicular axes ☺ , btw i have improved my drawing skills see my umbrella ☺
30th Nov 2017, 1:43 PM
Gaurav Agrawal
Gaurav Agrawal - avatar
29th Nov 2017, 6:40 PM
Louis
Louis - avatar
30th Nov 2017, 8:49 AM
LukArToDo
LukArToDo - avatar
+ 15
https://code.sololearn.com/WDYITVTWTXz1/?ref=app
30th Nov 2017, 5:53 AM
Calviղ
Calviղ - avatar
30th Nov 2017, 1:57 PM
David Akhihiero
David Akhihiero - avatar
+ 12
@Gaurav Hahaha 😁 Unfortunately, I need one loop 😭 😁😁👍
30th Nov 2017, 8:55 AM
LukArToDo
LukArToDo - avatar
+ 12
@Gaurav Hahaha...I'm lazy to ✍️ more lines 😆
30th Nov 2017, 9:01 AM
LukArToDo
LukArToDo - avatar
+ 11
Nice challenge
30th Nov 2017, 1:23 AM
Jaydeep Khatri
Jaydeep Khatri - avatar
+ 11
@D_Stark Oh yeah, you're from UK. That's why we could expect from you a challenge about rain, umbrella.... 😁😉
30th Nov 2017, 10:47 AM
LukArToDo
LukArToDo - avatar
+ 11
@Gaurav I've made some changes in my code ... now it's without loops 😁
30th Nov 2017, 1:23 PM
LukArToDo
LukArToDo - avatar
+ 9
@Gaurav lol there my spares its very rainy in the united kingdom you can borrow my favorite its a spiderman one 😜
30th Nov 2017, 10:44 AM
D_Stark
D_Stark - avatar
+ 9
Inspired from you I made this scene generator.. hope you enjoy it and merry Christmas ! https://code.sololearn.com/cI6H0e9VhlMi/?ref=app
12th Dec 2017, 8:19 AM
AZTECCO
AZTECCO - avatar
+ 8
@Gaurav use my umbrella if you want, dont forget to bring it back i only have one 😜
30th Nov 2017, 9:25 AM
D_Stark
D_Stark - avatar
+ 8
My Python try: Doesn't use much logic but still works https://code.sololearn.com/cOTaVMP8r2pG/?ref=app
3rd Dec 2017, 4:18 PM
Tim Thuma
Tim Thuma - avatar