Last answered:

16 May 2022

Posted on:

13 May 2022

2

My solution for the question 1

num_1 = int(input("Give me the first number :>>>>> "))
num_2 = int(input("Gibe me the seconde one  :>>>>> "))

print(num_1)
print(num_2)

first = min(num_1, num_2)
last = max(num_1, num_2)

print(first)
print(last)

for num in range(first, last + 1):
    print(num, end=" ")

1 answers ( 0 marked as helpful)
Instructor
Posted on:

16 May 2022

0

Hey Said,

I think your solution is great and solves the task as expected!

Kind regards,
365 Hristina

Submit an answer