181k views
3 votes
URGENTTTTTTTTTTTT

You want to find a random decimal between 0 and 1, with 0 included. Choose the correct lines of code, in the order they should appear in IDLE. Sample Output: 0.3570702149467504
>>>_________
>>>_________

from math import *
randint(0,1)
from random import *
random( )​

User Lulceltech
by
2.5k points

1 Answer

1 vote

Answer:

from random import *

print(random())

Step-by-step explanation:

You can try this in any online python ide quicker than putting the question here!

User Awongh
by
3.6k points