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

Published: 04 July 2023
on channel: 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


On this page of the site you can watch the video online Write a Python Script to Enter Any String Replace Vowel With Its Position Number with a duration of hours minute second in good quality, which was uploaded by the user Code With TJ 04 July 2023, share the link with friends and acquaintances, this video has already been watched 85 times on youtube and it was liked by 0 viewers. Enjoy your viewing!