This question already has an answer here:
I just can not understand how this concise statement if str[:] == str[::-1] works in Python. Thanks in advance.
if str[:] == str[::-1]
Aucun commentaire:
Enregistrer un commentaire