Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def rngRead():
- total = 0
- opFile = open('random.txt', 'r')
- opRead = opFile.readlines()
- print(opRead)
- num = 0
- for line in opFile:
- num += float(line)
- total += num
- print(total)
- opFile.close()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement