I'm trying to infintley print random numbers. I have the code to print infintley, but not to print a random number (completely random, no pattern). Does anyone have the code to print a list of numbers completely at random?

How about googling "generate random numbers in python"? That would have required less effort than posting your question here.

commented: Some colleges actively teach students to not google it. "Here's my book on that" Prof. Soandso. +15