🌙 Dark/Light
Python Online Code Editor
Python Version: 3.12.11
Code Area
# Online Python - IDE, Editor, Compiler, Interpreter def sum(a, b): return (a + b) a = int(input('Enter 1st number: ')) b = int(input('Enter 2nd number: ')) print(f'Sum of {a} and {b} is {sum(a, b)}')
Terminal
Run