I'm completely new to programming, and am in the process of picking up Python, using 3.3 at the moment. As a fun exercise, and because I'm a complete perv, I wanted to make a sex position-game, where I'm using a random.randrange command, and assigning a position to each value generated, which is printed. At the beginning, I want to prompt the user to enter how many sex positions they want to be randomly picked for them, and then I want the CoinToss function to generate the corresponding amount of positions. How can I do that? At the moment, I have just repeated the same code 3 times, and the script will print 3 random positions, regardless of the user input at the start.

Also, I'm having trouble with the very end of the script. It asks the user if they want to run again, and I want it to do so only if the user enters yes (ja/Ja), otherwise exit. However, the program runs regardless of what is entered. Hint? And please speak to me in feed-with-teaspoon-language, as I still have a lot to learn. Hopefully both problems can be solved with commands I already know, even if it will be more complicated than what is necessary. I'm guessing my knowledge of the language shines through in the code below.