'''python
martialstatus=int(input("Please enter the martial status of the first person :"))
if(martialstatus=="Married") or (martialstatus=="married"):
marriedcount = marriedcount + 1
elif(martialstatus=="single") or (martialstatus=="Single"):
singlecount = singlecount + 1
elif(martialstatus=="Divorced") or (martialstatus=="divorced"):
divorcedcount = divorcedcount + 1
elif(martialstatus=="seperated") or (martialstatus=="Seperated"):
else: Im not sure hwy this is causing me some problem. So far this is the only problem that I am having.
print("The person is not counted towards any marital group")
Aucun commentaire:
Enregistrer un commentaire