Re: Flubbed it in the second interation through the string: range error... HOW?

Liste des GroupesRevenir à cl python 
Sujet : Re: Flubbed it in the second interation through the string: range error... HOW?
De : grant.b.edwards (at) *nospam* gmail.com (Grant Edwards)
Groupes : comp.lang.python
Date : 29. May 2024, 16:02:03
Autres entêtes
Message-ID : <mailman.62.1716991325.2909.python-list@python.org>
References : 1 2 3 4
User-Agent : slrn/1.0.3 (Linux)
On 2024-05-29, Chris Angelico via Python-list <python-list@python.org> wrote:

print(f"if block {name[index]=} {index=}")

Holy cow!  How did I not know about the f-string {=} thing?

--
Grant

Date Sujet#  Auteur
29 May 24 o Re: Flubbed it in the second interation through the string: range error... HOW?1Grant Edwards

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal