How to use the assert command to say that P is integer type, and if not, should return an error message in Python.
I wrote this way more did not work out
assert (int (P)), "The number P is not an integer."
How to use the assert command to say that P is integer type, and if not, should return an error message in Python.
I wrote this way more did not work out
assert (int (P)), "The number P is not an integer."