#функция d
# def my_func():
#     a = 10
#     b = 5
#     return a + b
# print(my_func())

# def my_func(a, b):
#     return a+ b
#
# print(my_func(12,55))
# print(my_func(11,22))


# num1 =  int(input('введите первое число'))
# operator = input('введите оператор')
# num2 = int(input('введите второе число'))
# if operator == '+':
#     print(num1 + num2)
# elif operator == '-':
#     print(num1 - num2)
# elif operator == '/':
#      print( num1 / num2)
# elif operator == '*':
#     print(num1 * num2)
# else:
#    print('введен неверный оператор')

# def func1():
#     print('hello')
#
# func1()

# def func2(name):
#     name = input('input your name')
# def func2():
#     print(f'hello{name}')
#     func2()
# def hello(name):
#     print(f'heelo {name}:')

#
# hello('aktilek')
# hello('erkin')

# функция с ошибкой
# def f():
#     print(a)
#



# def add(a, b, c=10):
#     return a + b + c
#
# print(add(5, 6))

# def func1():
#     a=1
#     b=2
#     c=3
#     result = a + b + c
#     return result
# res_func = func1()
#
# print(res_func)
# print(type(res_func))


# def sqrt(a, b):
#     result = a ** b
#     return result
#
# print(sqrt(2, 4))


# def function():
#     result = 10 + 10
#     return result
# print(function())
# print(type['123'])


# num = 21
# num2 =12
#
# def function():
#     res = num + num2
#
# print(function())
#
# def func2():
#     num3 = 1
#     return num3
#
#
# result = num + num3
#print(result)


# def function():
#     a = 10
#     b = 9
#     def function2():
#         c = 8
#         return c + a
#     d = function2()
#     return b +d
# print(function())
#
# def f():
#     x =  function()


# def f():
#     global a
#     a = 1
#     #print(a)
#
# a = 0
# f()
#print(a)


