Skip to content

Instantly share code, notes, and snippets.

@amru404
amru404 / calculator.py
Created March 1, 2025 02:44 — forked from wahidari/calculator.py
Simple Python Calculator
def kalkulator():
def tambah (self):
print ('1. Penjumlahan')
a = input ('Masukkan nilai x = ')
b = input ('Masukkan nilai y = ')
c = a+b
print ('x + y = ',c)
print ('')
tanya ()