From d11aba7f9caa105d1e06196b4fd5ca36640374d7 Mon Sep 17 00:00:00 2001 From: "Antonio Fiuza da cunha Silva (fiuzadacua)" Date: Fri, 20 Nov 2020 15:26:44 +0000 Subject: [PATCH] Delete chatboat.py --- chatboat.py | 66 ----------------------------------------------------- 1 file changed, 66 deletions(-) delete mode 100644 chatboat.py diff --git a/chatboat.py b/chatboat.py deleted file mode 100644 index 93b68ea..0000000 --- a/chatboat.py +++ /dev/null @@ -1,66 +0,0 @@ -def main (): - budget=0 - brand=0 - battery=0 - screen=0 - - budget = MyPrice(budget) - brand = Mybrand(brand) - battery = Mybattery(battery) - screen = Myscreen(screen) - - -def MyPrice(budget): - ValidMoney = False - while ValidMoney == False : - money=int(input("How much is your budget? --")) - if money<230: - print ("your budget is too low") - else: - budget = money - return budget - - -def Mybrand(brand): - ValidBrand= False - while ValidBrand == False: - user_Brand=str(input("what brand do you perfer?--Google-- Apple--Samsung--One Plus-- Xaomi? ")) - user_Brand = user_Brand.lower() - ValidBrand= False - if user_Brand== "google" or user_Brand== "apple" or user_Brand== "one plus" or user_Brand== "xaomi" or user_Brand=="samsung": - brand = user_Brand - return brand - else: - print("try again") - - - - -def Mybattery(battery): - validBattery = False - while validBattery == False: - user_Battery=int(input("how long are you use your device?--")) - if user_Battery>24: - print ("you must need a device with more than 3500 Mah capacity") - battery = user_Battery - return battery - elif user_Battery<24: - print("you can use a device with less than 3500 Mah of capacity") - battery = user_Battery - return battery - else: - print("try again") - -def Myscreen(screen): - user_Size= int(input("what is your ideal screen size?--")) - user_Size == 4 - if user_Size<4: - print("this size is good for you") - else: - print("good chioce") - - -main() - - -