How to make a input string uppercase | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to make a input string uppercase

Python python python python python

24th May 2020, 11:11 PM
Gurseerit Singh Chahal ✓
Gurseerit Singh Chahal ✓ - avatar
3 Answers
24th May 2020, 11:25 PM
Josshual A. Toro M.
Josshual A. Toro M. - avatar
0
$ç 2 people downvoted you for no reason,
20th Jun 2020, 7:02 PM
Gurseerit Singh Chahal ✓
Gurseerit Singh Chahal ✓ - avatar
- 1
Gurseerit , If you don't want to use upper API then below is the other way to do it. If your string has other than lowercase character then you have to manage it. print(''.join([chr(ord(x)-32) for x in input()]))
24th May 2020, 11:58 PM
$¢𝐎₹𝔭!𝐨𝓝
$¢𝐎₹𝔭!𝐨𝓝 - avatar