I'm truly new to programming (two days old). I've as of late run into an issue with adding up two numbers from a list. I've figured out how to come up with this program:
list_nums = ["17", "3"]
num1 = list_nums[0]
num2 = list_nums[1]
sum = (num1) + (num2)
print(sum)
The issue is that as opposed to adding up num1 with num2 (17+3=20), Python joins the two numbers (for example "173"). what would I be able to do to add up the numbers, rather than joining them?