Lowercase Text

When comparing logins, tags, or commands, it is often easier to put text into one consistent case. Given a string s, return a copy where every uppercase Latin letter has been converted to lowercase. Leave all other characters unchanged.

Примеры

Ввод
"Hello"
Вывод
"hello"
Ввод
"here"
Вывод
"here"
Ввод
"LOVELY"
Вывод
"lovely"

Нужно реализовать

def to_lower_case(s: str) -> str:

Теги

strings
PostgreSQLv16

Tady se objeví výsledek běhu kódu

Visible tests
1
Input
"Hello"
Expected"hello"
2
Input
"here"
Expected"here"
3
Input
"LOVELY"
Expected"lovely"
4
Input
"aB1cD"
Expected"ab1cd"
5
Input
""
Expected""
6
Input
"ereh"
Expected"ereh"
Focus radio
Paused · SomaFM · Fluid