📅  最后修改于: 2022-03-11 14:46:27.206000             🧑  作者: Mango
click = False
click_counter = 0
if click == True:
click_counter += 1
click = False
print(click_counter)
# once the click becomes True
# one click adds to the click_counter
# Then click variable becomes False and start the process all over again