F&A Diskussionen
Why is won't the is output
-1 Stimme
4 Antwortenhow 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ß
Need a personal tutor
1 Votes
Fix code
0 Votes
Add lua
0 Votes
Summary please??
0 Votes
Software to write and run codes
0 Votes