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!

+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

9/18/2020 2:27:31 AM

#challenger mg

4 Answers

New Answer

+1

I can't understand your question. Can you redescribe it?

+1

yaa ,i have been redescribe

+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

0

Thx🙏 community members