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!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
+ 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 Réponses
+ 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