F&A Diskussionen
Multi-line comments in Python
1 Stimme
1 Antworthow 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 Stimmen
3 AntwortenHeute heiß
Error in python
5 Votes
Where have they gone
2 Votes
How to get messages?
2 Votes
General Inquiry
0 Votes
Certificate
0 Votes
PYTHON
1 Votes
how to be good at coding
1 Votes