# Tek Satirlik Aciklama Bilgisi
"""
docstrings yazim standardiyla aciklama satiri
"""

# help()

first_name = "Hakan"
last_name = "Yalcinkaya"
age = 39

print(first_name, last_name)
print(first_name, last_name, sep=" <> ")  # sep kullanimi

print(
    "Ad: " + first_name + " Soyad: " + last_name + 
    " Yas: ", age
)

print(first_name.upper())
print(first_name.lower())
print(first_name.title())
print(first_name.islower())
print(first_name.isupper())
print(first_name.istitle())
print(first_name.isalnum())
print(first_name.isalpha())
print(first_name.isdecimal())

print(dir(first_name))  # Tum metodlara burdan bakabiliriz

print(len(first_name + last_name))

content = "Lorem Ipsum Dolor \
last line" 


content_2 = "Incididunt Lorem dolor commodo\n" \
"nisi deserunt enim anim in nulla.\n"
"Lorem amet occaecat pariatur minim eiusmod id consectetur "


content_3 = """Incididunt Lorem dolor commodo 
nisi deserunt enim anim in nulla. 
Lorem amet occaecat pariatur minim eiusmod id consectetur 
nulla occaecat consequat consequat do exercitation magna. 
"""

print(content)
print(content_2)
print(content_3)

# Veri tipini ogren
type(first_name)

title = 'Hasan\'in Python Egitimi'
new_title = 'Hasan "Gercek Python\'ci"'

info = "kacis karakteri \n \\tir"
print(info)

# Hatali ->
print(
    "Merhaba " + first_name + " " + 
    last_name + 
    " senin yasin gelecek sene " + age + 1
)

age_info = "Merhaba " + first_name + " " + \
    last_name + \
    " senin yasin gelecek sene " + str(age + 1)

print(age_info)

age_str = str(age)

print(age_str)

age_with_format = "Merhaba {} {}, senin \
yasin gelecek sene {} olacak".format(
    first_name, last_name, age + 1
)

age_with_format_2 = "Merhaba {frst} {lst}, senin \
yasin gelecek sene {age} olacak".format(
    age=age+1, frst=first_name, lst=last_name
)
print(age_with_format_2)


age_with_f = f"Merhaba {first_name[0]}. {last_name}, senin yasin \
gelecek sene {age + 1} olacak "
print(age_with_f)


print(f"{first_name[0]}. {last_name}")
print(first_name[0] + ".", last_name)
print(first_name[:2] + ".", last_name)
print(first_name[:100] + ".", last_name)
print(first_name[0:5:2] + ".", last_name)
print(first_name[::-1] + ".", last_name)


print(f"{last_name[0:2]}{last_name[-1]}")


full_name = f"{first_name} {last_name}"
print(full_name)

first_name = first_name + " Hakan"
first_name = "Oktay"
first_name += " Hakan"
print(first_name)


info_1 = "Python"
info_2 = "JavaScript"

info_1, info_2 = info_2, info_1

print(info_1)


info_3 = info_4 = "Lorem"

print(info_3)
e31838346d6e1d91d2d1ac108fa0255e5ab4caf4
<mask token>

<mask token>
print(first_name, last_name)
print(first_name, last_name, sep=' <> ')
print('Ad: ' + first_name + ' Soyad: ' + last_name + ' Yas: ', age)
print(first_name.upper())
print(first_name.lower())
print(first_name.title())
print(first_name.islower())
print(first_name.isupper())
print(first_name.istitle())
print(first_name.isalnum())
print(first_name.isalpha())
print(first_name.isdecimal())
print(dir(first_name))
print(len(first_name + last_name))
<mask token>
print(content)
print(content_2)
print(content_3)
type(first_name)
<mask token>
print(info)
print('Merhaba ' + first_name + ' ' + last_name +
    ' senin yasin gelecek sene ' + age + 1)
<mask token>
print(age_info)
<mask token>
print(age_str)
<mask token>
print(age_with_format_2)
<mask token>
print(age_with_f)
print(f'{first_name[0]}. {last_name}')
print(first_name[0] + '.', last_name)
print(first_name[:2] + '.', last_name)
print(first_name[:100] + '.', last_name)
print(first_name[0:5:2] + '.', last_name)
print(first_name[::-1] + '.', last_name)
print(f'{last_name[0:2]}{last_name[-1]}')
<mask token>
print(full_name)
<mask token>
first_name += ' Hakan'
print(first_name)
<mask token>
print(info_1)
<mask token>
print(info_3)

<mask token>
first_name = 'Hakan'
last_name = 'Yalcinkaya'
age = 39
print(first_name, last_name)
print(first_name, last_name, sep=' <> ')
print('Ad: ' + first_name + ' Soyad: ' + last_name + ' Yas: ', age)
print(first_name.upper())
print(first_name.lower())
print(first_name.title())
print(first_name.islower())
print(first_name.isupper())
print(first_name.istitle())
print(first_name.isalnum())
print(first_name.isalpha())
print(first_name.isdecimal())
print(dir(first_name))
print(len(first_name + last_name))
content = 'Lorem Ipsum Dolor last line'
content_2 = """Incididunt Lorem dolor commodo
nisi deserunt enim anim in nulla.
"""
<mask token>
content_3 = """Incididunt Lorem dolor commodo 
nisi deserunt enim anim in nulla. 
Lorem amet occaecat pariatur minim eiusmod id consectetur 
nulla occaecat consequat consequat do exercitation magna. 
"""
print(content)
print(content_2)
print(content_3)
type(first_name)
title = "Hasan'in Python Egitimi"
new_title = 'Hasan "Gercek Python\'ci"'
info = """kacis karakteri 
 \\tir"""
print(info)
print('Merhaba ' + first_name + ' ' + last_name +
    ' senin yasin gelecek sene ' + age + 1)
age_info = ('Merhaba ' + first_name + ' ' + last_name +
    ' senin yasin gelecek sene ' + str(age + 1))
print(age_info)
age_str = str(age)
print(age_str)
age_with_format = 'Merhaba {} {}, senin yasin gelecek sene {} olacak'.format(
    first_name, last_name, age + 1)
age_with_format_2 = (
    'Merhaba {frst} {lst}, senin yasin gelecek sene {age} olacak'.format(
    age=age + 1, frst=first_name, lst=last_name))
print(age_with_format_2)
age_with_f = (
    f'Merhaba {first_name[0]}. {last_name}, senin yasin gelecek sene {age + 1} olacak '
    )
print(age_with_f)
print(f'{first_name[0]}. {last_name}')
print(first_name[0] + '.', last_name)
print(first_name[:2] + '.', last_name)
print(first_name[:100] + '.', last_name)
print(first_name[0:5:2] + '.', last_name)
print(first_name[::-1] + '.', last_name)
print(f'{last_name[0:2]}{last_name[-1]}')
full_name = f'{first_name} {last_name}'
print(full_name)
first_name = first_name + ' Hakan'
first_name = 'Oktay'
first_name += ' Hakan'
print(first_name)
info_1 = 'Python'
info_2 = 'JavaScript'
info_1, info_2 = info_2, info_1
print(info_1)
info_3 = info_4 = 'Lorem'
print(info_3)

# Tek Satirlik Aciklama Bilgisi
"""
docstrings yazim standardiyla aciklama satiri
"""

# help()

first_name = "Hakan"
last_name = "Yalcinkaya"
age = 39

print(first_name, last_name)
print(first_name, last_name, sep=" <> ")  # sep kullanimi

print(
    "Ad: " + first_name + " Soyad: " + last_name + 
    " Yas: ", age
)

print(first_name.upper())
print(first_name.lower())
print(first_name.title())
print(first_name.islower())
print(first_name.isupper())
print(first_name.istitle())
print(first_name.isalnum())
print(first_name.isalpha())
print(first_name.isdecimal())

print(dir(first_name))  # Tum metodlara burdan bakabiliriz

print(len(first_name + last_name))

content = "Lorem Ipsum Dolor \
last line" 


content_2 = "Incididunt Lorem dolor commodo\n" \
"nisi deserunt enim anim in nulla.\n"
"Lorem amet occaecat pariatur minim eiusmod id consectetur "


content_3 = """Incididunt Lorem dolor commodo 
nisi deserunt enim anim in nulla. 
Lorem amet occaecat pariatur minim eiusmod id consectetur 
nulla occaecat consequat consequat do exercitation magna. 
"""

print(content)
print(content_2)
print(content_3)

# Veri tipini ogren
type(first_name)

title = 'Hasan\'in Python Egitimi'
new_title = 'Hasan "Gercek Python\'ci"'

info = "kacis karakteri \n \\tir"
print(info)

# Hatali ->
print(
    "Merhaba " + first_name + " " + 
    last_name + 
    " senin yasin gelecek sene " + age + 1
)

age_info = "Merhaba " + first_name + " " + \
    last_name + \
    " senin yasin gelecek sene " + str(age + 1)

print(age_info)

age_str = str(age)

print(age_str)

age_with_format = "Merhaba {} {}, senin \
yasin gelecek sene {} olacak".format(
    first_name, last_name, age + 1
)

age_with_format_2 = "Merhaba {frst} {lst}, senin \
yasin gelecek sene {age} olacak".format(
    age=age+1, frst=first_name, lst=last_name
)
print(age_with_format_2)


age_with_f = f"Merhaba {first_name[0]}. {last_name}, senin yasin \
gelecek sene {age + 1} olacak "
print(age_with_f)


print(f"{first_name[0]}. {last_name}")
print(first_name[0] + ".", last_name)
print(first_name[:2] + ".", last_name)
print(first_name[:100] + ".", last_name)
print(first_name[0:5:2] + ".", last_name)
print(first_name[::-1] + ".", last_name)


print(f"{last_name[0:2]}{last_name[-1]}")


full_name = f"{first_name} {last_name}"
print(full_name)

first_name = first_name + " Hakan"
first_name = "Oktay"
first_name += " Hakan"
print(first_name)


info_1 = "Python"
info_2 = "JavaScript"

info_1, info_2 = info_2, info_1

print(info_1)


info_3 = info_4 = "Lorem"

print(info_3)