Beginner Python Tutorial 61 - continue

preview_player
Показать описание


~~~~~~~~~~~~~~~ CONNECT ~~~~~~~~~~~~~~~

~~~~~~~~~~~~~~ SUPPORT ME ~~~~~~~~~~~~~~

🅑 Bitcoin - 3HnF1SWTzo1dCU7RwFLhgk7SYiVfV37Pbq
🅔 Eth - 0x350139af84b60d075a3a0379716040b63f6D3853
Рекомендации по теме
Комментарии
Автор

no comments? okay then: First! As always, this lesson was well done and built off everything we've learned perfectly. Thank you for making this available to everyone!

mearapellar-kosbar
Автор

For some reason my code is faulty. Perhaps it's because it's a newer version of Visual Studio?
I get the "not what we're looking for"-comment after every language on the list.
The same happened in the last example of "break" where the "End of loop iteration"-comment had to stand on it's own instead of inside the statement.

languages = ["C++", "Java", "Python", "JavaScript"]

print("What language are you searcing for?")
lang = input()

for language in languages:
print(language)
if language == lang:
print("We found " + lang)
continue
print(language + "... not what we're looking for...")

rudimunk
Автор

Got you going at 1.5x in prep for my final.

brandonheald