Python supports nested loops. Here is a sample:
Code:
for x in range(5):
for y in range(5):
print x,y
I'm not sure how this relates to what you are trying to do. There are many ways you can detect consecutive keyboard presses in Vizard, however using nested loops is not related to it.