plz clear me wtt process behind it e.g.when i input "down" it output "alreaady down" and same for when i input "up" twice | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

plz clear me wtt process behind it e.g.when i input "down" it output "alreaady down" and same for when i input "up" twice

https://code.sololearn.com/cbTYiw7q0iff/?ref=app

18th Sep 2020, 2:27 AM
#challenger mg
#challenger mg - avatar
4 Answers
+ 1
I can't understand your question. Can you redescribe it?
18th Sep 2020, 4:29 AM
你知道規則,我也是
你知道規則,我也是 - avatar
+ 1
yaa ,i have been redescribe
18th Sep 2020, 1:57 PM
#challenger mg
#challenger mg - avatar
+ 1
if y == 0: Input up: bird is flying. y becomes 1 Input down: already down if y == 1: Input up: already up Input down: bird is landing y becomes 0
18th Sep 2020, 4:37 PM
你知道規則,我也是
你知道規則,我也是 - avatar
0
Thx🙏 community members
18th Sep 2020, 4:48 PM
#challenger mg
#challenger mg - avatar