def distance_from_zero(n): if type(n) == int or type(n) == float: return abs(n) else: return "Nope"
- not quite sure what i’m doing wrong. I’ve got the correct indentation (although it doesn’t show here) but i’m still getting an error. It’s basically identical to the correct code given, but I still receive an error. Any ideas? Or is this just another bug?