Q&A Discussions
What is error
0 Votes
2 Answershow 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 Votes
3 AnswersHot today
Project
2 Votes
Account activatio
3 Votes
Please I need your help
0 Votes
Any tips for web developer
0 Votes
Can I ask question
1 Votes
What is error
0 Votes