+ 1
How to make lowercase letter equal to uppercase letter?
Example: "m"== "M" True
4 ответов
+ 3
letter=(input ()).upper
if you wanted it lowerkeys :
letter=(input()).lower
+ 2
Scissors and superglue? Also:
>>> help("str.upper")
Help on method_descriptor in str:
str.upper = upper(...)
S.upper() -> str
Return a copy of S converted to uppercase.
You may use function results in tests, so this is a valid start:
if "m".upper() == ...
0
small = 'm'
big = 'M'
if(small.upper() == big):
return true // or something else
0
thanks guys