- 1
It's a Sign solved by basic knowledge
x=0 t=0 for x in range(4): sign="" word=[] Rword="" sign = input() for i in sign: word.append(i) word.reverse() #print (word) for i in word: Rword+=i #print (Rword) if sign == Rword: print ("Open") t = 1 break else: pass if t!=1: print ("Trash")
1 Respuesta
+ 4
And your question is❓