Hello!
I'm a beginner in Python 3, but I think I can help you.
So let's go! You need to make a WHILE because the while is a repetition loop
Like this (enter in this link) https://onlinegdb.com/rkvyOdeF8 :
I'm Brazilian and everthing going to be in Portuguese, but I think I can help You (Just see the program to You undertand better).
Bye bye :D