Q&A Discussions
Why is won't the is output
-1 Vote
4 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
Need suggestions
0 Votes
Best code for creating games?
0 Votes
Java full stack
0 Votes
progaming
1 Votes
Calculator
0 Votes
Duration of heart refilling
0 Votes
Anyone Learning Godot?
1 Votes