Write a Python Script to Enter Any String Replace Vowel With Its Position Number

Publié le: 04 juillet 2023
sur la chaîne: Code With TJ
85
0

Hello Programmers, Welcome to my channel.

In this video you will learn about how to Write a Python Script to Enter Any String Replace Vowel With Its Position Number

Python Scripts
======================
https://codewithtj.blogspot.com/2024/...

Python Functions Solved
==========================
https://codewithtj.blogspot.com/2023/...

Python Programs Solved
============================
https://codewithtj.blogspot.com/2023/...


Code
=============================
input_string = input("Enter String : ")
vowels = "aeiouAEIOU"
output_string = ""

for position, letter in enumerate(input_string):
if letter in vowels:
output_string += str(position)
else:
output_string += letter

print("Resulting string is : ", output_string)




Keywords
=============================
#python #python3 #python_assignment #pythonprogramming #pythontutorial #pythonprojects #pythoncourse #pythonbaba #pythonforbeginners #pythonautomation #pythonbasic #pythonbeginners


Sur cette page du site, vous pouvez voir la vidéo en ligne Write a Python Script to Enter Any String Replace Vowel With Its Position Number durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Code With TJ 04 juillet 2023, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 85 fois et il a aimé 0 téléspectateurs. Bon visionnage!