F&A Diskussionen
Major Project Ideas
0 Stimmen
1 Antworthow do I get line breaks?
name = input("What is your name?:")
print("Hiya, " + name)
age = int(input("Tell me your age:"))
year = str((2016 - age) + 100)
num = int(input("Enter a number between 1 and 50:"))
line = str((name + " will be 100 in the year " + year) * num)
print(\n line)
2 Stimmen
3 AntwortenFind the bug
-1 Stimme
1 Antwort