0

s = input() a = -1 for x in s: a=a+1 if s[a]=='1':print("one") if s[a]=='2':print("two")

I need to print 'one' and 'two' in one line? please help me

3rd Mar 2020, 3:24 PM
Amrani Yassin
Amrani Yassin - avatar
1 Resposta