edited timmccool

This commit is contained in:
TimMcCool
2019-07-22 10:07:30 +02:00
parent b4eea9ddc2
commit 9a231df1df
+7 -11
View File
@@ -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)