I made this program this morning, the problem is that when I go to run it it says:
> Traceback (most recent call last):
> File "C:/Python33/Test random number creator.py", line 4, in <module>
> print (x)('x')(y)
> TypeError: 'NoneType' object is not callable
> `
Here is the program:
from random import randrange, uniform
x= randrange (0,100)
y= randrange (0,100)
print (x)('x')(y)
Aa = int(input('Type your answer here: '))
if Aa==x*y:
print ('Correct!')
else:
print ('incorrect')
How would you fix this?