“Python do wielkimi” Kod odpowiedzi

Python do wielkimi

text = "Random String"
text = text.upper() #Can also do 
text = upper(text)
print(text)

>> "RANDOM STRING"
Delta Sierra

Python do wielkimi

original = Hello, World!

#both of these work
upper = original.upper()
upper = upper(original)
DaWildOne

Python kapitalizuje cały ciąg

message="hi"
print(message)
print(message.upper())
Panicky Parrot

Jak sprawdzić wielki poziom w Python

an_uppercase_check = an_upper.isupper()
Stockholm

Upper Python python.org

text = "Random String"
text = text.upper()
print(text)
>> "RANDOM STRING"
Felipebros

Python wielki

# example string
string = "this should be uppercase!"
print(string.upper())

# string with numbers
# all alphabets should be lowercase
string = "Th!s Sh0uLd B3 uPp3rCas3!"
print(string.upper())
Unusual Unicorn

Odpowiedzi podobne do “Python do wielkimi”

Pytania podobne do “Python do wielkimi”

Więcej pokrewnych odpowiedzi na “Python do wielkimi” w Python

Przeglądaj popularne odpowiedzi na kod według języka

Przeglądaj inne języki kodu