using count in python code example Example: what is the use of count function in python count = 0 while count < 10 : print("Hello") count += 1