Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions main.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@

price = 4.50
print("price of item :", price)
quantity = 4
print ('quantity :', quantity)
tax_rate = 0.15
print('tax rate 15%')
subtotal = price * quantity

tax = subtotal * tax_rate

total = subtotal + tax
print("subtotal = ", subtotal)
print("tax = ",tax)
print("total = ",total)



about_me = 'hello i am Abdullah Alharbi my favorite team is Real Madrid i like to use python'
print(about_me)
print(about_me.title)
print(about_me.upper)
print(about_me.lower)