-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdic_silent_action_program.py
More file actions
33 lines (28 loc) · 911 Bytes
/
Copy pathdic_silent_action_program.py
File metadata and controls
33 lines (28 loc) · 911 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
import os
#print("*******Welcome to the silent auction Program********")
#def silent_auction():
#bids = {}
#end_of_bidding = False
#while not end_of_bidding:
#name = input("What is your name?: ")
#bid_amount = int(input("Enter your bid amount: $"))
#bids[name] = bid_amount
#option = input("Are there any other bidders? (y/n): ").lower()
#if option == "n" or option == "no":
#end_of_bidding = True
#elif option =="yes" or "y":
#os.system('cls')
#highest_bidder = max(bids, key=bids.get)
#highest_bid = bids[highest_bidder]
#print(f"The winner is {highest_bidder} with a bid of ${highest_bid}")
#silent_auction()
#n=10
#factorial=1
#for i in range(1,n+1):
#factorial*=i
#print(f"{factorial}")
fibonacci=[0,1]
for i in range(1,10):
s=fibonacci[-2]+fibonacci[-1]
fibonacci.append(s)
print(s)