+ 2
I wrote a program which receives a string, modifies it and then prints the output but it doesn't work 😄 where is the problem???
I want to write a program that reads a string from the input and applies the following changes to it: 1- Delete all the vowels. 2- Print a dot before each silent letter. 3- Write all the remaining silent letters in lowercase. (vowels are aeiou) https://code.sololearn.com/cCHk9qXmOmHp/?ref=app
4 ответов
+ 4
# in for loop is index out range
# the way for task 2 can be
sout=''
for i in range (0, len(sentence)):
sout += '.'
sout += sentence[i]
print(sout)
+ 2
What are silent letters here?
I+1 , I+3 results out of bounds exception...
+ 1
Jayakrishna🇮🇳 thank u ⚘
+ 1
JaScript Thank u so much ⚘