I have the loop like this
for a in list1:
for b in list2:
for c in list3:
print "Hello"
Without using any if else statement. i want that if there are elements in all list then it should repeat as normal but if the list is empty then for loop should behave like its don't exist and runs the code below it once
like if list3
is empty and list2
contains 2
elements and list1
has one element then i should see hello
2 times