Q&A Discussions
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 Votes
3 AnswersHot today
Functions in python
2 Votes
How to make a playground
1 Votes
For Mobile app
0 Votes
I need advice
1 Votes
Html 5 document question
1 Votes
Paint costs
1 Votes
Learning Python - Question
1 Votes
𝙵𝙸𝙽𝙳 𝚃𝙷𝙴 𝙸𝙽𝙿𝚄𝚃 𝙾𝙵 𝚃𝙷𝙴 𝙿𝚁𝙾𝙶𝚁𝙰𝙼
1 Votes