from beepy import beep

for i in range(1,11):
    if(i%2==0):
        print(f"{i} is an even number!")
        beep(sound= 'ready' )
    else:
        print(f"{i} is an odd number!")
        beep(sound= 'robot_error' )

1 is an odd number!
2 is an even number!
3 is an odd number!
4 is an even number!
5 is an odd number!
6 is an even number!
7 is an odd number!
8 is an even number!
9 is an odd number!
10 is an even number!
sponsors = ['Qualcomm', 'Viasat', 'Gene Haas', 'Starbucks']

newSponsor = input("Which new company is sponsoring us?")

sponsors.append(newSponsor)

print(sponsors)

currentSponsor = input("What sponsor do you want to check?")

if currentSponsor in sponsors:
    print(currentSponsor + " is one of our current sponsors!")
else:
    print(currentSponsor + " is not a sponsor of ours.")
    
donatedMoney = [2000, 3000, 2500, 1500]

for i in donatedMoney:
    print(donatedMoney))
['Qualcomm', 'Viasat', 'Gene Haas', 'Starbucks', 'n']
b is not a sponsor of ours.



---------------------------------------------------------------------------

TypeError                                 Traceback (most recent call last)

/Users/rayyandarugar/vscode/student/_notebooks/2023-10-12-RecursionHW.ipynb Cell 3 line 1
     <a href='vscode-notebook-cell:/Users/rayyandarugar/vscode/student/_notebooks/2023-10-12-RecursionHW.ipynb#W2sZmlsZQ%3D%3D?line=15'>16</a> donatedMoney = [2000, 3000, 2500, 1500]
     <a href='vscode-notebook-cell:/Users/rayyandarugar/vscode/student/_notebooks/2023-10-12-RecursionHW.ipynb#W2sZmlsZQ%3D%3D?line=17'>18</a> for i in donatedMoney:
---> <a href='vscode-notebook-cell:/Users/rayyandarugar/vscode/student/_notebooks/2023-10-12-RecursionHW.ipynb#W2sZmlsZQ%3D%3D?line=18'>19</a>     print(donatedMoney(i))


TypeError: 'list' object is not callable