📜  大写python代码示例

📅  最后修改于: 2022-03-11 14:45:48.871000             🧑  作者: Mango

代码示例6
# 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())