Python 3.8.1 (tags/v3.8.1:1b293b6, Dec 18 2019, 22:39:24) [MSC v.1916 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license()" for more information.
>>> #penjumlahan
>>> a=45
>>> b=12
>>> c=a+b
>>> c
57
>>> #pengurangan
>>> a=34
>>> b=11
>>> c=a-b
>>> c
23
>>> #perkalian
>>> a=23
>>> b=11
>>> c=a*b
>>> c
253
>>> #pembagian
>>> a=45
>>> b=4
>>> c=a/b
>>> c
11.25
>>> #sisa bagi
>>> a=13
>>> b=5
>>> c=a%b
>>> c
3
>>> #pangkat
>>> a=3
>>> b=3
>>> c=a**b
>>> c
27
>>> ##operator penugasan
>>> a = input("masukkan nilai a: ")