I have a word "biPAP
" and some other words like this I just want the output like "BiPAP
" using python.
Asked
Active
Viewed 68 times
-6

sourab maity
- 1,025
- 2
- 8
- 16

Rahul Sahni
- 15
- 5
-
What did you try so far? – Ram Jun 21 '21 at 07:21
-
I TRIED tittle() but it capitalise only first word and give output Bipap – Rahul Sahni Jun 21 '21 at 07:22
-
I'm sure there are functions in python that turns a character into uppercase – Cid Jun 21 '21 at 07:22
-
1Do this - ```s = s[:1].upper() + s[1:]``` – Ram Jun 21 '21 at 07:25