+ 19
Weres my Umbrella? [Challenge]
Ok, So my mum has a habit of going to work with an umbrella when its raining and leaving it at work if its sunny before she finishes. If its raining the next day she will have to go to work without an umbrella as shes left it at work so i made a challenge out of it š
9 Answers
+ 21
Oneliner...
https://code.sololearn.com/cLG7JHQz70FL/?ref=app
+ 7
I've updated the code to make output more compact
https://code.sololearn.com/c9sWY3R8WBZ3/#py
+ 5
The program should start at home with a umbrella if the weather is sunny the umbrella never moves it only moves if its raining and thats only if the umbrella is at the place shes leaving if not then she walks in the rain back to home were the umbeller was left. does thar make sense?
+ 5
@ Tato weather is random for 3 days or more if you want āŗ
+ 4
Bookmark
+ 3
So the weather is random?