From 6e1e2665fe658916e4ebad94e8ee17159a6ce776 Mon Sep 17 00:00:00 2001 From: alexalmeida2001 <47391414+alexalmeida2001@users.noreply.github.com> Date: Sat, 5 Dec 2020 18:26:57 +0000 Subject: [PATCH] Update and rename appUPDATED.py to appUPDATED-alex.py --- appUPDATED.py => appUPDATED-alex.py | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) rename appUPDATED.py => appUPDATED-alex.py (92%) diff --git a/appUPDATED.py b/appUPDATED-alex.py similarity index 92% rename from appUPDATED.py rename to appUPDATED-alex.py index 54e0ba9..968b447 100644 --- a/appUPDATED.py +++ b/appUPDATED-alex.py @@ -22,6 +22,7 @@ def menu(): email = input("Enter your e-mail: ") password = input("Enter your password: ") if database.log_in(email, password): + database.view_saldo(email) break else: @@ -33,7 +34,7 @@ def client(): 1) Search products 2) View all 3) View my products - 4) My history + 4) My movements 5) Messages 0) Exit Your Selection: """ @@ -66,7 +67,7 @@ def client(): client_interface_view = "\nselecione um filme ou pressione zero para saĆ­r " while (client_input_view := input(client_interface_view)) !='0': if client_input_view != '0': - database.view_movieinfo(client_input_view) + moviename=database.view_movieinfo(client_input_view) client_input_view_buy =input ("press 1 to buy press 0 to leave\n") if client_input_view_buy == '1': client_input_view_buy=input("are you sure you want to buy?\n(press 1 yes press 0 no)") @@ -79,10 +80,17 @@ def client(): if(custo