Sort the given set of integers using bubble sort and find the smallest and largest among given set of integers.

Get the number of integers

Receive the integers

Sort the integers using bubble sort

Print the start and end of sequence

**INPUT:**
Enter the Integers: 99 5 6 97
**OUTPUT:
**Sequence of integers: 4 to 100

Ele = list(map(int,input("Enter the Integers: ").split(" "))) max = Ele[0] min = Ele[0] for i in range(len(Ele)): if Ele[i] > max: max = Ele[i] if Ele[i] < min: min = Ele[i] print("Sequence of integers: " + str(min-1) + " to " + str(max+1))

**INPUT_1:**

Enter the Integers: 99 5 6 97

**OUTPUT:**

Sequence of integers: 4 to 100

**INPUT_2:**

Enter the Integers: 4 5 88 99 105 109

**OUTPUT:**

Sequence of integers: 3 to 110

**INPUT_3:**

Enter the Integers: 55 500 69 488 499 55 99

**OUTPUT:**

Sequence of integers: 54 to 501

**INPUT_4:**

Enter the Integers: 1 1 5 9 9 10 10

**OUTPUT:**

Sequence of integers: 0 to 11

**ILLUSTRATION**

**Morae Q!**

- OS operating system module using path parameter.
- Find the smallest and largest integers after sorting using bubble sort.
- Find the integer and its number of occurrences.
- Algorithm complexity – Big O Notation with Examples.
- Linear search.
- Map module using series mapping and parallel mapping.
- Mapping and Transposing with Map Module.
- Map Module/built-in Function.
- Linux commands for managing files.
- Program which takes two lists and maps two lists into a dictionary.
- Splitting strings and substituting using regular expressions regex.
- Basics of regular expression Regex.
- Find the square value of the dictionary.
- Check whether the given key is present in the dictionary.
- Matching an expression only in specific places using regular expressions.
- Escaping special characters using regular expressions.
- Check the key.
- Grouping and sub-grouping using regular expressions.
- Generate a Dictionary that Contains Numbers in the Form (x , x*x).
- Algorithm complexity Big-Theta, Big-Omega and Big-O Notations.