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
Social Sciences,
4 months ago
Hindi,
4 months ago
Accountancy,
4 months ago
Environmental Sciences,
9 months ago
Math,
9 months ago
Math,
1 year ago