New course! Every coder should learn Generative AI!
Try a free lessonQ&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 AnswerPython modules...
3 Votes
2 AnswersHot today
Can we convert website into app
2 Votes
Jobs
3 Votes
Help! Images! HTML!
0 Votes
I need help with python code
0 Votes