F&A Diskussionen
how 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 AntwortenHeute heiß
Ai generated practices
3 Votes
Solving coding challenges
2 Votes
Advertising in Sololearn
1 Votes
I am new
1 Votes
RUST'S FUTURE
1 Votes
Programming Language
0 Votes