Seite 1 von 1
if Befehl hilfe.
Verfasst: Mittwoch 11. April 2018, 17:50
von TheBonnieSilber
Also, ich brauche hilfe bei dem "if" Befehl mein Code:
Also, wenn man eine 1 schreibt soll "print('Beispiel')" ausgeführt werden. Könntet ihr mir dabei helfen? (Ich bin ein Neuling)
Re: if Befehl hilfe.
Verfasst: Mittwoch 11. April 2018, 18:07
von __deets__
Hast du schon mal in ein Python Tutorial geschaut? Zb hier:
https://docs.python.org/3/tutorial/controlflow.html
Re: if Befehl hilfe.
Verfasst: Mittwoch 11. April 2018, 18:17
von TheBonnieSilber
Danke.
Re: if Befehl hilfe.
Verfasst: Mittwoch 11. April 2018, 18:17
von /me
Das Ansehen der Dokumentation von "input" schadet sicher auch nicht:
https://docs.python.org/3/library/functions.html#input
Bisher ist die Eingabe nicht weiter verwendbar.