


#LIST OF NAMES

# names = ["ransom","spirit","foo"]
OUTPUT = 0
def result():
    global OUTPUT
    print("your RESULT IS" ,OUTPUT)
    for i in range(5):
        print("----")
    print("Add Num")
    num = float(input())
    OUTPUT += num
    result()






# def add(a,b=0):
#     return a+b
# def plus(output,a):
#     return output+a


# obj1 = {"name":"jaz","age":27,"height":5.9}



# friends = [{"name":"ransom","age":24,"height":6.33},{"name":"foo","age":45,"height":6.15}]


# friends.append(obj1)


# print("first num")
# num1 = float(input())
# print("2nd num")
# num2 = float(input())

# output = add(num1,num2)


# print(f'{num1} plus {num2} equals {output}')


# print("next num")
# num1 = float(input())


# print(f'your final out put is {plus(output,num1)}')


result()








# for friend in friends:
#     print(friend["name"],friend["height"])





        

f780ab60563230e7ca92f4eb99793468525d2698
<mask token>

<mask token>


def result():
    global OUTPUT
    print('your RESULT IS', OUTPUT)
    for i in range(5):
        print('----')
    print('Add Num')
    num = float(input())
    OUTPUT += num
    result()


<mask token>

<mask token>


def result():
    global OUTPUT
    print('your RESULT IS', OUTPUT)
    for i in range(5):
        print('----')
    print('Add Num')
    num = float(input())
    OUTPUT += num
    result()


result()

OUTPUT = 0


def result():
    global OUTPUT
    print('your RESULT IS', OUTPUT)
    for i in range(5):
        print('----')
    print('Add Num')
    num = float(input())
    OUTPUT += num
    result()


result()




#LIST OF NAMES

# names = ["ransom","spirit","foo"]
OUTPUT = 0
def result():
    global OUTPUT
    print("your RESULT IS" ,OUTPUT)
    for i in range(5):
        print("----")
    print("Add Num")
    num = float(input())
    OUTPUT += num
    result()






# def add(a,b=0):
#     return a+b
# def plus(output,a):
#     return output+a


# obj1 = {"name":"jaz","age":27,"height":5.9}



# friends = [{"name":"ransom","age":24,"height":6.33},{"name":"foo","age":45,"height":6.15}]


# friends.append(obj1)


# print("first num")
# num1 = float(input())
# print("2nd num")
# num2 = float(input())

# output = add(num1,num2)


# print(f'{num1} plus {num2} equals {output}')


# print("next num")
# num1 = float(input())


# print(f'your final out put is {plus(output,num1)}')


result()








# for friend in friends:
#     print(friend["name"],friend["height"])





        
