edited timmccool
This commit is contained in:
+7
-11
@@ -1,11 +1,7 @@
|
||||
print ("STECKBRIEEF")
|
||||
print (" ")
|
||||
print ("Fragen:")
|
||||
name = input (str("1.Was ist dein Name?"))
|
||||
alter = input (str("2.Was ist dein Alter?"))
|
||||
ort = input (str("3.Wo wohnst du?"))
|
||||
print (" ")
|
||||
print ("Antworten:")
|
||||
print ("Name: " + name)
|
||||
print ("Alter: " + alter)
|
||||
print ("Wohnort: " + ort)
|
||||
vorname = input (str("Vorname:"))
|
||||
nachname = input (str("Nachname:"))
|
||||
geschlecht = input (str("Geschlecht (m/w)"))
|
||||
alter = input(str("Alter:"))
|
||||
if alter >= 18: if geschlecht = m: print("Hallo Herr "+nachname) anrede = "Ihnen" anrede2 =
|
||||
if alter >= 18: if geschlecht = w: print("Hallo Frau "+nachname)
|
||||
if alter <= 18: print("Hallo "+vorname)
|
||||
Reference in New Issue
Block a user