Write a program that prints the numbers from 1 to 50. For numbers that are prime, output “Prime” instead of the number.
Posted: Fri Jul 08, 2022 6:36 am
Write a program that prints the numbers from 1 to 50. Fornumbers that are prime, output “Prime” instead of thenumber. Note: "Prime numbers are numbersgreater than 1. They only have two factors, 1 and thenumber itself. This means these numbers cannot be divided by anynumber other than 1 and the number itself without leaving anyremainder. "
In Python Please
In Python Please