Beginner Python Tutorial 71 - lower and upper Functions

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


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

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

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

Why do you need to match the .lower method with a lowercase y and the .upper method with an uppercase y? It seems like doubling down and not making much sense. Sorry if this question doesn't make sense.

mearapellar-kosbar
Автор

Sorry mate but I did not find my answer in this video. I am looking to find a method for an input where user can input either a lower or upper case string and the condition checks out fine. For example (What is the capital city of Canada?). Now the user can either type in Montreal or montreal and both inputs should be accepted. Are you or anyone reading these comments able to please help? Cheers

billalkhwaja
Автор

Hey can someone tell me what i have done wrong
count = 0
while count <=5:
print(count)
count = count +1
while True:
print("Continue? Y/N")
response = input()
if response.lower() != 'y':
break

Gumrip
join shbcf.ru