I have just started learning python and am getting caught up. I come from mostly C background.
class Alarm:
def timer():
def main():
print ("Timer has Started")
main()
I always get a silly error when I try to run this code::
alarm > python alarm.py
File "alarm.py", line 5
def main():
^
IndentationError: expected an indented block
What am I doing wrong?