import random
class Sum:
def __init_(self):
pass
def get_x(self):
self.random_x = random.randint(1,101)
return self.random_x
def test_print(self):
self.print_random_x = self.get_x(self)
print(self.print_random_x)
a = Sum()
b = a.test_print()
print(b)