+ 1

How change input register

I heard that possible change register of string with .lower() and .upper() Me need to change input register (or variable) userinput = input('Write something') if userinput == COMMAND: print(':D')

15th Jun 2018, 9:58 AM
Computer Guy
Computer Guy - avatar
1 Answer
+ 2
You can use yourString.toUpperCase() to make all letters capital and the opposite yourString.toLowerCase() to make all letters small.
15th Jun 2018, 11:36 AM
TheWh¡teCat 🇧🇬
TheWh¡teCat 🇧🇬 - avatar