#str: immutable sequences of Unicode codepoints
print("It's a good thing")
print('"Yes", he said, "I agree"')

#Zen of Python: Practicality beats purity

line = "first" "second"
print(line)

multiline = """this is a multiline
string"""
print(multiline)

multiline2 = "multine can also be done \n like this"
print(multiline2)

print("this is a \" in a string")
#Escape sequences http://docs.python.org/3/reference/lexical_analysis.htlm#strings

#raw strings
path = r'C:\Users\Oguz\Documents'
print(path)

s = str(432)
print(s)

s = 'asdfas'
print(s[3])

print(type(s[3]))

capital = 'oslo'
print(capital.capitalize())
print(capital)


#bytes: immutable sequences of bytes

bb = b'data bytes'
bbb = b"data"

print(bb.split())



#list: mutable sequences of objects
l = [1, 8, 2]
print(l)

l2 = ['apple',  3, 'asdf']
print(l2)

l3 = []
l3.append(1.23)
l3.append(3.232)
print(l3)

l3.append('asdf')
print(l3)

l4 = list("oguzozcan")
print(l4)

l5 = ['oguz',
      'ozcan',]
print(l5)

#dict mutable mapping of keys to values, unordered
d = {'oguz': '123', 'ozcan': '456'}
print(d['oguz'])