Python
October 15, 2022
Showing posts with label Python. Show all posts
Showing posts with label Python. Show all posts
# Number to be checked for prime n = 5 # Check if the number is greater than 1 if n > 1: for i in range(2, int(n/2)+1): if (n % i) ...