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
Python
1 Votes
Guys help please
0 Votes
Python question
2 Votes
Front-end vs Full-stack
1 Votes
Python
1 Votes
Are websites hackable?
1 Votes
About our Capstone product "Ecocambio" We don't know how to code and how electronics would connect.
0 Votes
C# and sql
1 Votes
What course to take for AI?
0 Votes