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()
- for line in opFile:
- opNum = 0
- try:
- opNum +- float(line)
- total += opNum
- print(total)
- main()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement