Where are they???? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 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.

10th Jul 2017, 6:00 PM
AgentSmith
4 Answers
+ 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
10th Jul 2017, 6:03 PM
Rrestoring faith
Rrestoring faith - avatar
+ 5
It's like I'm hearing my dictionary - it also said it lost some keys when I popped it...
10th Jul 2017, 7:58 PM
Kuba Siekierzyński
Kuba Siekierzyński - avatar
+ 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
11th Jul 2017, 5:07 AM
David Ashton
David Ashton - avatar
+ 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
10th Jul 2017, 6:23 PM
AgentSmith