num1 = print(random.randint(0,9))
num2 = print(random.randint(0,9))
print(num1 ** num2)
When ever I try to run this in python I receive the error
TypeError: unsupported operand type(s) for ** or pow(): 'NoneType' and 'NoneType'
Anyone know the issue im having here and how i can go about fixing it?