Speed up the code

Report a typo

Suppose we have a list of numbers. We want to find the smallest and largest number in our sequence. Write the code using built-in functions.

You can separate the numbers you get from the input using the split() function.

Sample Input 1:

50 45 100 12 26

Sample Output 1:

12 100
Write a program in Python 3
...
___

Create a free account to access the full topic