Skip to content
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion BlackJack_game/blackjack.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ def dealer_choice():
while sum(p_cards) < 21:
# to continue the game again and again !!
k = input("Want to hit or stay?\n Press 1 for hit and 0 for stay ")
if k == "1": # Ammended 1 to a string
if k == "1": # Amended 1 to a string
random.shuffle(deck)
p_cards.append(deck.pop())
print("You have a total of " + str(sum(p_cards)) + " with the cards ", p_cards)
Expand Down
2 changes: 1 addition & 1 deletion bank_managment_system/QTFrontend.py
Original file line number Diff line number Diff line change
Expand Up @@ -1171,7 +1171,7 @@ def update_employee_data(name, password, salary, position, name_to_update):
)
backend.conn.commit()
show_popup_message(
stacked_widget, "Employee Upadate successfully", UPDATE_EMPLOYEE_PAGE2
stacked_widget, "Employee Update successfully", UPDATE_EMPLOYEE_PAGE2
)

except:
Expand Down