I have a very simple python snippet:
from random import *
ip1 = input('Enter the N1 :')
ip2 = input('Enter the N2 :')
r = randint({0},{1}.format(ip1,ip2))
print r
But I get the following error:
File "index.py", line 6
r = randint({0},{1}.format(i1,i2))
^
SyntaxError: invalid syntax