Fixing the previous code
examples/numbers/rnd_fixed.py
import random x = random.random() print(x)
examples/numbers/rnd_fixed_again.py
from random import random x = random() print(x)
import random x = random.random() print(x)
from random import random x = random() print(x)