Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis+ 1
Jungle Camping
All cases passed except 3rd.. Iām not confused now.. take a look at my code and correct me please.. Thanjs https://code.sololearn.com/cvqysOrnBX6h/?ref=app
4 Respostas
+ 7
sandeep , I think it should be "Bird" not "Birds" š±
+ 2
šš¼ Thank You! TheWhĀ”teCat š§š¬
+ 1
sound = list(input())
for x in sound:
if x == "G":
print("Lion" , end = ' ')
elif x == "R":
print("Tiger" , end = ' ')
elif x == "S":
print("Snake" , end = ' ')
elif x == "C":
print("Bird" , end = ' ')