Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuiteDiscussions Q&R
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 RéponsesAujourd'hui en vedette
Comparing code coach solutions
3 Votes
Automatation python
1 Votes
General python
1 Votes
view challenge analytics
2 Votes
Problem with application
0 Votes
Road Runner!!! ✌🏻🙌🏻
1 Votes