Easy
assert a Rule
Read an integer. Use
assert n > 0, 'must be positive', then print n. Catch AssertionError and print its message.Input
One integer.
Output
One line.
Sample 1
Input
5
Output
5
Sample 2
Input
0
Output
must be positive
Output appears here