Объяснение:
from random import *
def main():
t = 0
for i in range(1000): # thousand
t += random()
print(t/1000)
main()
Объяснение:
from random import *
def main():
t = 0
for i in range(1000): # thousand
t += random()
print(t/1000)
main()