print('Enter a string: ') s = io.stdin:read() print('Enter a number: ') i = tonumber(io.stdin:read())