This commit is contained in:
parent
4fb81b2c78
commit
00d34e7e2f
11 changed files with 23 additions and 13 deletions
|
@ -0,0 +1,7 @@
|
|||
[MESSAGES CONTROL]
|
||||
disable=
|
||||
too-many-lines,
|
||||
missing-module-docstring,
|
||||
missing-function-docstring,
|
||||
missing-class-docstring,
|
||||
line-too-long
|
|
@ -1,3 +0,0 @@
|
|||
# Blastoff!
|
||||
|
||||
*4/29/2024*
|
|
@ -1 +0,0 @@
|
|||
35,32,100,111,110,39,116,32,109,111,100,105,102,121,32,116,104,105,115,32,102,105,108,101
|
|
@ -1,3 +0,0 @@
|
|||
# Online Store
|
||||
04/29/2024
|
||||
wip
|
|
@ -1 +0,0 @@
|
|||
# don't modify this file
|
5
blastoff/README.md
Normal file
5
blastoff/README.md
Normal file
|
@ -0,0 +1,5 @@
|
|||
# Blastoff
|
||||
|
||||
## 4/29/2024
|
||||
|
||||
wip
|
1
blastoff/__init__.py
Normal file
1
blastoff/__init__.py
Normal file
|
@ -0,0 +1 @@
|
|||
# don't modify this file
|
|
@ -7,7 +7,7 @@ def countdown(n: int) -> None:
|
|||
print(n)
|
||||
sleep(1)
|
||||
countdown(n-1)
|
||||
|
||||
|
||||
def countup(n: int) -> None:
|
||||
if n >= 0:
|
||||
print('Blastoff!')
|
||||
|
@ -24,4 +24,4 @@ def count(n: int) -> None:
|
|||
|
||||
if __name__ == "__main__":
|
||||
num = input("Enter a number: ")
|
||||
count(int(num))
|
||||
count(int(num))
|
5
online_store/README.md
Normal file
5
online_store/README.md
Normal file
|
@ -0,0 +1,5 @@
|
|||
# Online Store
|
||||
|
||||
## 04/29/2024
|
||||
|
||||
wip
|
1
online_store/__init__.py
Normal file
1
online_store/__init__.py
Normal file
|
@ -0,0 +1 @@
|
|||
# don't modify this file
|
|
@ -23,8 +23,7 @@ def get_discounted_prices(*prices: int) -> float:
|
|||
elif len(prices_set) == 2:
|
||||
return float(price_sum * 0.9)
|
||||
|
||||
else:
|
||||
return float(price_sum)
|
||||
return float(price_sum)
|
||||
|
||||
def print_row(item: str, price: str, bold: bool = False) -> None:
|
||||
# ANSI color codes
|
||||
|
@ -50,4 +49,4 @@ if __name__ == '__main__':
|
|||
print_row("Grapes & Apples Combo", get_discounted_prices(prices_dict["grapes"], prices_dict["apples"]))
|
||||
print_row("Fruit Gift Pack", get_discounted_prices(prices_dict["grapes"], prices_dict["apples"], prices_dict["oranges"]))
|
||||
print("⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯")
|
||||
print("For delivery Contact: (987) 646-78899") # lol?
|
||||
print("For delivery Contact: (987) 646-78899") # lol?
|
Loading…
Reference in a new issue