Skip to content

Instantly share code, notes, and snippets.

View brian0024's full-sized avatar

brian0024

  • Joined May 13, 2026
View GitHub Profile
num1 = float(input(''))
num2 = float(input(''))
operacao = input('(+, -, *, /)')
if operacao == '+':
re1 = num1 + num2
print ('Resultado: {}'.format(re1))
elif operacao == '-':
re2 = num1 - num2