Generation

generate functionThu, 18 May 2023

calculator

Script def caculator(a, b, c): if c === '+': return a + b if c === '-': return a - b if c === '*': return a * b if c === '/': return a / b calculator(1, 2, '/')

Questions about programming?Chat with your personal AI assistant