- 3
Where are they????
I can't find my keys! I had them last night before I went to bed, and I swore I put them on my nightstand.....so.... where are my keys? If anyone can help me find my keys, I greatly thank you.
4 odpowiedzi
+ 5
while(keysNotFound){
lookForKeys();
}
Eventually you'll break the loop, I'm sure.
There's an explanation here on how to go about doing that:
https://www.codecademy.com/en/forum_questions/53eace5c52f863c2650008f4
+ 5
It's like I'm hearing my dictionary - it also said it lost some keys when I popped it...
+ 4
for object in house:
if object == "keys":
print ("Here they are!")
break
else:
print ("Nope, not here.")
... but Rrestoring faith said it more elegantly
+ 3
Thanks. You've restored my faith, Restoring Faith. <3
I'm not sure why I was downvoted. Maybe I should have asked what the difference between left and right is. I dunno. Tough crowd. :D