Q&A Discussions
Major Project Ideas
0 Votes
1 Answerhow 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 AnswersFind the bug
-1 Vote
1 AnswerHot today
I am new in python
4 Votes
Can we collab?
3 Votes
Calculator
0 Votes
I'm new in js
0 Votes
Python
0 Votes
Audio trouble
0 Votes
dictionary
0 Votes
Ethical Hacker
0 Votes
AI courses
1 Votes