Write A Python Function To Toggle The Case Of Each Character In Given String

preview_player
Показать описание
Hello Programmers, Welcome to my channel.

In this video you will learn about how to Write A Python Function To Toggle The Case Of Each Character In Given String

Python Scripts
======================

Python Functions Solved
==========================

Python Programs Solved
============================

Code
=============================
def toggle(data):
info = ""
for letter in data:
else:
info += letter
return info

text = input("Enter a string : ")
result = toggle(text)
print("String after case toggle is : ", result)

Keywords
=============================
#python #pythonbasic #pythonbasics
Рекомендации по теме
join shbcf.ru