W
W
Workguy2020-01-03 19:00:11
pygame
Workguy, 2020-01-03 19:00:11

User input in pygame?

Please tell me how it would be better to solve the issue: I need the user to enter information from the keyboard, but at the same time use only lowercase letters!

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
SashaN69, 2020-01-03
@Workguy

Why not just do it?
s = "Kilometer"
print(s.lower())

S
Sergey Karbivnichy, 2020-01-03
@hottabxp

str.lower()

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question