Main Program
Main Program
connector
import datetime
productfor=input("enter male/female/kids")
data.append(productfor)
season=input("enter winter'summer")
data.append(season)
stockdata.append(pid)
stockdata.append(0)
stockdata.append('no')
stockdata.append(0)
stockdata.append('0')
stock=tuple(stockdata)
for x in res:
print(x)
print(" ")
values=(val,pid)
mycursor.excute(sql,values)
mydb.commit()
print("editing done")
try:
userinput=int(input("plese select an above
option="))
except ValueError:
exit("$nHy! that's not a number")
if userinput==1:
addproduct()
elif userinput==2:
editproduct()
elif userinput==3:
delproduct()
elif userinput==4:
viewproduct()
elif userinput==5:
purchaseproduct()
elif userinput==6:
viewpurchase()
elif userinput==7:
viewstock()
elif userinput==8:
saleproduct()
elif userinput==9:
viewsales()
else:
print("enter correct choice")
while runagaininput.lower()=='y':
clearscreen()
menuset()
runagaininput=input("do you want to run again y\
n:")
#initial program execution
if name=='main':
print('*'*80)
print('*welcome to the project of fashion store')
print('***devloped by :anushka gupta***')
print('*'*80)
print('')
menuset()
runagain()