from random import * x1 = randint(1, 6)x2 = randint(1, 6)x3 = randint(1, 6) avg = (x1 + x2 + x3) / 3 print(avg)
Standard input is empty
3
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!