# -*- coding: utf-8 -*-
"""
Created on Thu Jan  3 00:08:13 2019

@author: Hesam
Calculating with Functions
"""

#def zero(x=0):
#    if x == 0:
#        return eval(f'{x}')
#    else:
#        return eval(f'0{x}')
#def one(x=1):
#    if x == 1:
#        return eval(f'{x}')
#    else:
#        return eval(f'1{x}')
#def two(x=2):
#    if x == 2:
#        return eval(f'{x}')
#    else:
#        return eval(f'2{x}')
#def three(x=3): 
#    if x == 3:
#        return eval(f'{x}')
#    else:
#        return eval(f'3{x}')
#def four(x=4):
#    if x == 4:
#            return eval(f'{x}')
#    else:
#        return eval(f'4{x}')
#def five(x=5):
#    if x == 5:
#        return eval(f'{x}')
#    else:
#        return eval(f'5{x}')
#def six(x=6): 
#    if x == 6:
#        return eval(f'{x}')
#    else:
#        return eval(f'6{x}')
#def seven(x=7):
#    if x == 7:
#        return eval(f'{x}')
#    else:
#        return eval(f'7{x}')
#def eight(x=8): 
#    if x == 8:
#        return eval(f'{x}')
#    else:
#        return eval(f'8{x}')
#def nine(x=9):
#    if x == 9:
#        return eval(f'{x}')
#    else:
#        return eval(f'9{x}')
#
#
#def plus(x): return f'+{x}'
#def minus(x): return f'-{x}'
#def times(x): return f'*{x}'
#def divided_by(x): return f'//{x}'


def zero(x=0):
    if x == 0:
        return eval('{}'.format(x))
    else:
        return eval('0{}'.format(x))
def one(x=1):
    if x == 1:
        return eval('{}'.format(x))
    else:
        return eval('1{}'.format(x))
def two(x=2):
    if x == 2:
        return eval('{}'.format(x))
    else:
        return eval('2{}'.format(x))
def three(x=3): 
    if x == 3:
        return eval('{}'.format(x))
    else:
        return eval('3{}'.format(x))
def four(x=4):
    if x == 4:
            return eval('{}'.format(x))
    else:
        return eval('4{}'.format(x))
def five(x=5):
    if x == 5:
        return eval('{}'.format(x))
    else:
        return eval('5{}'.format(x))
def six(x=6): 
    if x == 6:
        return eval('{}'.format(x))
    else:
        return eval('6{}'.format(x))
def seven(x=7):
    if x == 7:
        return eval('{}'.format(x))
    else:
        return eval('7{}'.format(x))
def eight(x=8): 
    if x == 8:
        return eval('{}'.format(x))
    else:
        return eval('8{}'.format(x))
def nine(x=9):
    if x == 9:
        return eval('{}'.format(x))
    else:
        return eval('9{}'.format(x))


def plus(x): return '+{}'.format(x)
def minus(x): return '-{}'.format(x)
def times(x): return '*{}'.format(x)
def divided_by(x): return '//{}'.format(x)