Computer Science, asked by Anonymous, 9 months ago

\huge{\tt{Ello!♡}}

• Write a {\bf{pink{python}}} program to print whether the given number is prime or composite.

#Don't spam :-!​

Answers

Answered by utsavmalik4
7

n=int(input("enter any number"))

if n2=0

then print("n is composite")

else:

print("n is prime")

Similar questions