0
country_name = input('enter Country name :')
if country_name[-1] == 'e':
 print('le' + country_name )
elif country_name == 'belize' or 'Mexique':
 print('le ' + country_name)
else: print( 'la' + country_name)

I input Canada however 'le Canada is the result' this makes no sense because it doesn't satisfy the first two statements therefore it should go based along the 'else ' statement , why is my code not working I'm a learner and could use some guidance with detail. Btw for the French users out there this is a rough draft

0 Answers0