Functions


#1
def spam():
  """This Line Prints'Eggs!' To The Console."""
  print "Eggs!"

I am getting an error with the code above, and I not sure why. If anyone can help, please reply.


#2

Remember to call the function…

spam()

#3

Thank you. The issue was resolved by fixing the indent.


#4

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.