Elance Exams Answers PDF file

-- PDF FILE --
Download PDF file of elance Zoho Creator Exam Answers

Which of these functions is a generator that will produce an endless sequence of odd numbers?

def odds(): value = 1 while True: yield value value += 2
def odds(): for value in xrange(1, maxint): yield value
def odds(): value = 1 while True: return value += 2
  • Follows us our servcies
  • Facebook icon
  • Linkedin icon
  • twitter icon
  • rss icon
  • social icon