Hello!
I am a student and I am learning for my admission test to the university and I was wondering if there is any possibility to create any “light” program to test myself before the exam day. The problem is I am really bad at programming at all and I have never been doing in Python.
The program should be like: Generate 100 combinations of Number (1-1500) + 4 letters (a-h). Everything should be random but in a row (for example: 3acgh, 7efgh, 9cdeg is right, but 7hcea, 10aebh, 2beac is incorrect). Is here any possibility to make a program like this for newbie like me? I did some research on internet and did this:
Thank you for any help.
I am a student and I am learning for my admission test to the university and I was wondering if there is any possibility to create any “light” program to test myself before the exam day. The problem is I am really bad at programming at all and I have never been doing in Python.
The program should be like: Generate 100 combinations of Number (1-1500) + 4 letters (a-h). Everything should be random but in a row (for example: 3acgh, 7efgh, 9cdeg is right, but 7hcea, 10aebh, 2beac is incorrect). Is here any possibility to make a program like this for newbie like me? I did some research on internet and did this:
import random number=random.randrange(1500)+1 letter=[a,b,c,d,e,f,g,h] for i in range(100): print(number)Actually, I don't know what I did and if it is even correct.
Thank you for any help.