Skip to content

Commit

Permalink
double inner quotes fix
Browse files Browse the repository at this point in the history
  • Loading branch information
BastovOleksandr committed Aug 11, 2024
1 parent abd0813 commit 45237a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/shop.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def prints_receipt(self, product_cart: dict, cust_name: str) -> None:
f"for {product_total} dollars\n")

print(f"Date: "
f"{datetime.datetime.now().strftime("%d/%m/%Y %H:%M:%S")}\n"
f'{datetime.datetime.now().strftime("%d/%m/%Y %H:%M:%S")}\n'
f"Thanks, {cust_name}, for your purchase!\n"
f"You have bought:\n"
f"{purchases_info}"
Expand Down

0 comments on commit 45237a9

Please sign in to comment.