Am 20.03.25 um 19:38 schrieb Hermann Riemann:
fprint(f"{name}:{wert}\n")

Was ist dieses fprint? Das habe ich in Python noch nie gesehen und so eine Funktion scheint mir unnötig wie ein Kropf. Dann das geht eleganter und vermutlich effizienter mit print:

print(f"{name}:{wert)")

oder

print(name, wert, sep=":")

--
Schönen Gruß
Hartmut Goebel
Dipl.-Informatiker (univ), CISSP, CSSLP, ISO 27001 Lead Implementer
Information Security Management, Security Governance, Secure Software Development

Goebel Consult, Landshut
http://www.goebel-consult.de

Blog: https://www.goebel-consult.de/blog/2019/openstreetmaps-hat-google-maps-weit-ueberholt/ Kolumne: https://www.goebel-consult.de/blog/cissp-gefluester/2011-11-in-troja-nichts-neues/
_______________________________________________
python-de Mailingliste -- python-de@python.org
Zur Abmeldung von dieser Mailingliste senden Sie eine Nachricht an 
python-de-le...@python.org
https://mail.python.org/mailman3/lists/python-de.python.org/
Mitgliedsadresse: arch...@mail-archive.com

Reply via email to