Here you will get python program to add two numbers.
The program will first ask user to enter two numbers, calculate their sum and finally print it.
How do you sum numbers in Lua?
io.write('Enter the first number :')
num1 = io.read("*n") -- read a number
io.write('Enter the second number :')
num2 = io.read("*n") -- read a number
sum = num1 + num2
io.write('Sum is ', sum, '\n')