Why am I getting 'time limit exceeded' messages?
I'm very new to coding (less than a month) and I wrote a simple code to select random letters and numbers for the game BINGO. The code is supposed to wait 2 seconds before starting, then print random combinations of letters B-I-N-G-O and numbers 1-10. Then the code is supposed to wait 5 seconds and then print another output. This is supposed to happen 100 times. import random, time bingo = "BINGO" lett = random.choice(bingo) num = random.randint(1,10) num = str(num) time.sleep(2) for i in range(100): print(lett + num) time.sleep(5) I'm not getting any syntax errors, but I keep getting a time limit exceeded message in output. Is something inherently wrong with my code or is code playground just not able to run it properly? Also, if there's a way to have only unique combinations printed I'd love some advice. Thanks!