Will be there a way to give a point to a variable if myAns has answered the questions continuously 10 times?
For the hard of understanding, this is the code.
life = 3
problem=["~~questions~~"]
ans=["~~answers~~"]
myAns=input()
if myAns==ans[n] (----and I want to use a command here. so the command has to be meaning if myAns is correct and I continuously answer the questions 10 times, then give 1 point to life.)
life+=1