- 2
Python— Program
Write a function that takes one argument (a positive integer) and reports if the argument is prime or not. Write a program that invokes functions.
3 ответов
+ 6
Prashant Yadav please attempt to do your homework before posting it in Q&A. If you have created a code and are having issues we will be happy to help.
+ 6
This is a staple in programming. There are lots of codes for this in Code Playground:
https://code.sololearn.com/c6iJDx3dN3ci/?ref=app
https://code.sololearn.com/crgK5oInXzWJ/?ref=app
https://code.sololearn.com/cGT60z1q9qnw/?ref=app
https://code.sololearn.com/ca4yn2obWt7f/?ref=app
https://code.sololearn.com/cNw6mQX96D6i/?ref=app
https://code.sololearn.com/cwskiLS80J1G/?ref=app
0
Hi