Post History
Lua, 51 bytes P1: print("print(tonumber(io.read())+"..io.read()..")") Try it online! P2 (given I inputted 10, 29 bytes): print(tonumber(io.read())+10) Try it online!
Answer
#1: Initial revision
# [Lua], 51 bytes P1: <!-- language-all: lang-lua --> print("print(tonumber(io.read())+"..io.read()..")") [Try it online!][TIO-ktb6a05o] [Lua]: https://www.lua.org/ [TIO-ktb6a05o]: https://tio.run/##yylN/P@/oCgzr0RDCUKV5OeV5ialFmlk5usVpSamaGhqaivp6cF5enpKmkqa//8bGgAA "Lua – Try It Online" P2 (given I inputted 10, 29 bytes): <!-- language-all: lang-lua --> print(tonumber(io.read())+10) [Try it online!][TIO-ktb6bhgh] [TIO-ktb6bhgh]: https://tio.run/##yylN/P@/oCgzr0SjJD@vNDcptUgjM1@vKDUxRUNTU9vQQPP/f0NTAA "Lua – Try It Online"