56.2k views
2 votes
Instructions

Ask the user to input an integer. Print out the next three consecutive numbers.
Sample Run
Enter an integer: 4
5
6
7

User TimJ
by
4.4k points

1 Answer

3 votes

Answer:

a = float(input("Enter an integer: ")), print(a + 1), print (a + 2)!, print (a + 3)!!

Step-by-step explanation:

I hope this helps some?

User Ndcweb
by
4.8k points