school/einfuehrung/Namenseingabe.py

5 lines
131 B
Python

vorname = "Anna";
nachname = "Schmid";
print("Hallo, " + vorname + " " + nachname + "!");
print(f"Hallo, {vorname} {nachname}!");