Saturday, 12 November 2016

While loop in Python

count=1
while count <= 5:
    print count

    count += 1  # This is the same as count = count + 1