Skip to content
Permalink
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
#chatboat proof:
# this is where I'm going to work with API system for chatboat.
def main ():
budget=0
print(budget)
brand=0
print(user_Brand)
battery=0
print(user_Battery)
screen=0
print(user_Size
budget = MyPrice(budget)
brand = Mybrand(brand)
battery = Mybattery(Mah)
screen = Myscreen(screen)
print(budget)
#MyBrand(brand)
#...
#...
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):
user_Brand=str(input("what brand do you perfer?--Google-- Apple--Samsung--One Plus-- Xaomi"))
user_Brand = user_Brand.lower()
ValidBrand= False
while ValidBrand == False:
if user_Brand== "google" or user_Brand== "apple" or user_Brand== "one plus" or user_Brand== "xaomi" or
def Mybattery(Mah):
user_Battery=str(input("how long are you use your device?--"))
while user_Battery == 24:
if user_Battery>24:
print ("you must need a device with more than 35000 Mah capacity")
elif user_Battery<24:
print("you can use a device with less than 35000 Mah of capacity")
def Myscreen(screen):
user_Size= str(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()