#program simple calculatoroperator = str(input(‘Pilih operator “penambahan”, “pengurangan”, “perkalian”, atau “pembagian”: ‘))number1 = int(input(“Masukkan angka pertama: “))number2 = int(input(“Masukkan angka kedua: “))
if operator == ‘penambahan’:res = number1 + number2elif operator == ‘pengurangan’:res = number1 – number2elif operator == ‘perkalian’:res = number1 * number2elif operator == ‘pembagian’:res = number1 / number2
print(f'{operator} dari {number1} dan {number2} adalah {res}’)