WAP in pytontops to check the prime number
Answers
Answered by
1
Answer:
- num = int(input("Enter a number: "))
- if num > 1:
- for i in range(2,num):
- if (num % i) == 0:
- print(num,"is not a prime number")
- print(i,"times",num//i,"is",num)
- break.
- else:
hope you like❤✔
Answered by
1
Answer:
hope it helps u..
plzz follow me dude and Mark it as Brainliest answer
Attachments:
Similar questions