0
A string value containing more than 1 word is passed as input to the program itmust print all the words starting with letter 't'
input: I went to the movie output : to the Note:use ( .startswith ) method
4 Respuestas
+ 2
check this:
result = ",".join([word for word in input().split(" ") if word.lower().startswith('t')])
print(result)
+ 2
great u r right tnx for ur help
0
Anna please help me
0
error Mohamed ELomari