M
M
Maxim Siomin2020-06-29 12:08:49
Python
Maxim Siomin, 2020-06-29 12:08:49

How can I make the program ignore capital letters?

userInput = input()
The user entered, for example, City. The program should read the word City as a city.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
soremix, 2020-06-29
@MaxSiominDev

userInput.lower()

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question