Re: A problem with str VS int.

Liste des GroupesRevenir à cl python 
Sujet : Re: A problem with str VS int.
De : ram (at) *nospam* zedat.fu-berlin.de (Stefan Ram)
Groupes : comp.lang.python
Date : 10. Dec 2023, 12:09:33
Autres entêtes
Organisation : Stefan Ram
Message-ID : <comparison-20231210120814@ram.dialup.fu-berlin.de>
References : 1
"Steve GS" <Gronicus@SGA.Ninja> writes:
I converted the variable to int along with the if statement
comparison and it works as expected.

|>>> "2">"10"
|True 

  because, in a dictionary, the word "2" would be inserted after "10".



Date Sujet#  Auteur
10 Dec 23 o Re: A problem with str VS int.1Stefan Ram

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal