nilai = 100
ipk = 4.0

# Dynamic Typing

# Casting Data Type
a = 3
b = float(a)
c = 4.0
d = int(c)
e = str(d)
f = ""
f = 'Halo \nhalo'
f = '''
Halo
halo
halo
'''

print(b, c, d)

var = 4.6
res = int(var)
print(f)

# Variable di Python itu menggunakan snake case
nama_lengkap_saya = 'Matthew'

print(3+0.5)

x = 10
x = x+10
x += 10

a == b

print('nama' + 'saya')
print('*' * 3)

# special case operation
print(1+True)
# int(True) = 1
# int(False) = 0

# penjumlahan string + number (stringnya harus dicasting ke number)
print(1 + int('1'))

# Comparison

print("pacil">"paCil")

x = ['pacil', 12, True]
print(x)

print([1,2,3] > [2,3,4])

# Boolean Operator (True(1) dan False(0))

# AND, OR, NOT
True & False
True | False
~True

True and False
True or False
not True

# Another representation of boolean
print(bool(['']))
