import random

random.seed() # this initializes with the Date, which I think is a novel enough seed

while True: # if we're going with a mimicing of cat /dev/random, it'll pretty much just go until it's killed
    print(chr(random.getrandbits(8)), end='') 

import calendar
import time

seed = calendar.timegm(time.gmtime()) # We'll use the epoch time as a seed.

def random (seed):
    seed2 =  (seed*297642 + 83782)/70000
    return int(seed2) % 70000;
    
    
p = seed
while True: # if we're going with a mimicing of cat /dev/random, it'll pretty much just go until it's killed
    p = random(p)
    print(chr(p % 256), end="")
    p = p % 4000

Make it so we're using our own seed.
Make it so we're using our own seed.

- import random
+ import calendar
+ import time
  
- random.seed() # this initializes with the Date, which I think is a novel enough seed
+ seed = calendar.timegm(time.gmtime()) # We'll use the epoch time as a seed.
  
+ def random (seed):
+     seed2 =  (seed*297642 + 83782)/70000
+     return int(seed2) % 70000;
+     
+     
+ p = seed
  while True: # if we're going with a mimicing of cat /dev/random, it'll pretty much just go until it's killed
-     print(chr(random.getrandbits(8)), end='') 
+     p = random(p)
+     print(chr(p % 256), end="")
+     p = p % 4000
  
Make it so we're using our own seed.
## Code Before:
import random

random.seed() # this initializes with the Date, which I think is a novel enough seed

while True: # if we're going with a mimicing of cat /dev/random, it'll pretty much just go until it's killed
    print(chr(random.getrandbits(8)), end='') 

## Instruction:
Make it so we're using our own seed.
## Code After:
import calendar
import time

seed = calendar.timegm(time.gmtime()) # We'll use the epoch time as a seed.

def random (seed):
    seed2 =  (seed*297642 + 83782)/70000
    return int(seed2) % 70000;
    
    
p = seed
while True: # if we're going with a mimicing of cat /dev/random, it'll pretty much just go until it's killed
    p = random(p)
    print(chr(p % 256), end="")
    p = p % 4000
