samedi 9 janvier 2021

I am a new comer to python. Can anybody explain the following line of code?

print(s[-1]>'('and s.count('(')==s.count(')')and"Yes"or"No")

s is a string on the above line. Thank you

Aucun commentaire:

Enregistrer un commentaire