var1 = 6
var2 = int(input())
if var2 > var1:
print("Greater")
else:
print("Smaller")
Hey there I started learning python recently, currently I am using VS Code but I encountered a problem while learning IF ELSE, in the above code it is showing "invalid literal for int() with base 10" while in other compiler it works fine. How do I fix it.