How I Append T when String 1st letter is vowal ?
try the code:
newstring =list(string[i] for i in string)
vow=[‘a’,‘e’,‘i’,‘o’,‘u’]
if(newstring[0] in vow):
newstring[0]=‘T’
but required only c
so how can i
How I Append T when String 1st letter is vowal ?
try the code:
newstring =list(string[i] for i in string)
vow=[‘a’,‘e’,‘i’,‘o’,‘u’]
if(newstring[0] in vow):
newstring[0]=‘T’
but required only c
so how can i