You are given this piece of code. Assume m and n are already defined as some positive integer value. When it completes, how many tuples will my list contain?
mylist = []
for i in range(m):
for j in range(n):
mylist.append((i,j))
You are given this piece of code. Assume m and n are already defined as some positive integer value. When it completes, how many tuples will my list contain?
mylist = []
for i in range(m):
for j in range(n):
mylist.append((i,j))