Elance Exams Answers PDF file

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

How would you write the following with a list comprehension? x = [] for i in range(5): x.append([]) for j in range(10): x[-1].append(j)

x = [[i for i in range(5)] for j in range(10)]
x = [i for i in range(5) for j in range(10)]
x = [i for i in range(10) for j in range(5)]
x = [[i for i in range(10)] for j in range(5)]
  • Follows us our servcies
  • Facebook icon
  • Linkedin icon
  • twitter icon
  • rss icon
  • social icon