A
A
Anton Styazhkin2016-01-19 20:54:12
Python
Anton Styazhkin, 2016-01-19 20:54:12

How can I reduce the case in the input words?

How can you make it so that when you enter, for example, "hello" in the array, "hello" is written. I have one option - a loop and conditions in it. But maybe there are other more rational methods?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
nirvimel, 2016-01-19
@untonyst

s = "ПриВеТ"
print(s.lower())

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question