#Fadilla Sofa Amatullah
#Program tutorial tipe dat
#10.29.2020

a="hello world"
b=list(a)


#print(b)
#print(a[4])
#print(a[-4])
#print(a[1:3])
#print(a[-5:-1])
#print(a[:3])
#print(a[3:])

c="""Hello
     World
Blabla
"""
print(c)

d="Hello\nworld"
e=list(d)
print(d)
print(e)

a="hello"
#b=" world"
#print(a+b)

#print(len(a+b))
#print(dir(str))
#print(a.capitalize())
#print(a.center(25,"o"))
#print(len(a.center(25)))
#print(a.upper())
#print(a.upper().isupper())

#c="Nama saya babe saya suka burung perkutut"
#c=c.replace("saya","kamu")
#print(c)
#print(c.index("saya"))
#print(c.index("su"))
#c=c.replace("saya","kamu",1)
#print(c)
#c=c[0:5]+"kamu"+c[9:]
#print(c)

#d="  hello,world  "
#d=d.rstrip()
#d=d.lstrip()
#d=d.strip()
#e=d.split(",")
#print(e)

a= "Nama saya {0} saya {1} tahun berat saya {0}"
a=a.format("a","b")
print(a)

#z= "nama saya Dilla saya " + str(17) + " tahun berat saya "+ str(14.3)
#print(z)