Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
String Toggling
#python 3.5.2 string = input() for i in range(len(string)): if(string[i].isupper()): string = string[:i] + string[i:].replace(string[i],string[i].lower(),1) else: string = string[:i] + string[i:].replace(string[i],string[i].upper(),1) print(string)
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
MBTI
Simulare
reverse words
PYTHON 3
Lesson 7 part 2
set, tuple, and dict
shuru16
Два шарика в квадрате
python lesson 1 function
3564
Please log in to post a comment.