From 9f1addce40a8b75bb78fb5ff8d97ce040cf27110 Mon Sep 17 00:00:00 2001 From: caminsha Date: Sun, 16 Feb 2020 22:07:55 +0100 Subject: removed section with different .format for stringformatting --- de-de/python-de.html.markdown | 4 ---- 1 file changed, 4 deletions(-) (limited to 'de-de/python-de.html.markdown') diff --git a/de-de/python-de.html.markdown b/de-de/python-de.html.markdown index 1de74bc4..123a781d 100644 --- a/de-de/python-de.html.markdown +++ b/de-de/python-de.html.markdown @@ -116,10 +116,6 @@ False or True #=> True "{0} mag Spagetthi, {0} liebt es zu Schwimmen und ganz besonders mag {0} {1}".format("Hans", "Blattsalat") #=> "Hans mag Spagetthi, Hans liebt es zu Schwimmen und ganz besonders mag Hans Blattsalat" -# Wir können Schlüsselwörter verwenden, wenn wir nicht abzählen wollen. -"{name} will {food} essen".format(name="Bob", food="Lasagne") -#=> "Bob will Lasagne kochen" - # None ist ein Objekt None #=> None -- cgit v1.2.3