Обсуждения
Multi-line comments in Python
1 голос
1 ответ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 голосов
3 ответовАктуальное сегодня
Vote Code
1 Votes
Input errors (python)
1 Votes
Without degree job
0 Votes
Script file names
0 Votes
Html learn
1 Votes