bubble sort algorithm in python

preview_player
Показать описание
bubble sort algorithm in python
Рекомендации по теме
Комментарии
Автор

Hi can You help me to solve this pls



create a function that accepts an integer and returns an array containing all prime numbers than that integer. The array should contain the prime numbers is according order. If there are no prime numbers less than that integer, output "No prime number" and return null

A prime number is a number greater than 1 and is divisible only by one and itself it is always

example
input number:17
output:
array {
0 => 2,
1 => 3,
2 => 5,
3 => 7,
4 => 11,
5 => 13

lunabait