I have a problem with a program in Python and I can't find an answer to my question. Let's suppose I have a list containing all the chars of the alphabet, that means from A to Z.
list = ["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"]
I want to take a random char form that list. Let's suppose Z. Now I want to iterate over that list 13 times. Let me explain better: if I am on the Z, Z + 13
must be M because I would do A,B,C,D,E,F,G,H,I,J,K,L,M. If I would be on the A and I'd want to use 25 for example it would be easy because it would be Z the final result. But if I put a 27 (so it goes over the max numbers of items in the list) how can I restart the list after the 25 so A + 27
would be B?