+ 3

Why this error came in my program when I use casefold and swapcase

str='pivyash' capitalize converts first character of string to capital x=capitalize(str) print(x) x=casefold(str) print (x)

26th Oct 2020, 7:17 AM
Divya Patil
Divya Patil - avatar
2 Antworten
+ 5
str.capitalize() str.casefold() And yes it took me two minutes to Google and check the right way of using them
26th Oct 2020, 7:24 AM
Abhay
Abhay - avatar
0
I think you against me very excellent keep rocking 👌🏻
11th Nov 2020, 8:22 AM
Shreyas AJITH
Shreyas AJITH - avatar