Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #negative_energy_function
- def negative_energy_function(number = "a"):
- if int(number) < 0:
- print(-1 * int(number))
- else:
- print(int(number))
- negative_energy_function(3)
- negative_energy_function(0)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement