0

I need to compare two strings (direct and reversed), which are made of integer numgers. I try next code

str(1001) is str(1001)[::-1]

but it return False? Interesting, in IDLE output is the same/

Sergio
  • 313
  • 5
  • 18

0 Answers0