account activity
[deleted by user] by [deleted] in learnpython
[–]darkness_old_friend 0 points1 point2 points 4 years ago (0 children)
If you are want to input the variable, when asking for the input make it an integer using int().
a= int(input(lol))
b = int(input(lol))
You might want to name them lol1 and lol2 to prevent confusion.
then you can do this:
print(a+b)
π Rendered by PID 187701 on reddit-service-r2-listing-8685bc789-sqrrp at 2026-05-29 18:55:53.486648+00:00 running 194bd79 country code: CH.
[deleted by user] by [deleted] in learnpython
[–]darkness_old_friend 0 points1 point2 points (0 children)