import random
a = input("От скольки: ")
b = input("До скольки: ")
c = random.randint(a, b)
print(c)
Traceback (most recent call last):
File "<string>", line 5, in <module>
File "/usr/lib/python3.8/random.py", line 248, in randint
return self.randrange(a, b+1)
TypeError: can only concatenate str (not "int") to str