Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- phrase=input("names of my family members: ")
- if phrase=="Khamisi" or phrase=="Shaaban" or phrase=="Mohamed" or phrase=="Is-haq":
- print("I am Lubattillah's Son")
- elif phrase=="Zuhura" or phrase=="Tamasha":
- print("I am Lubattillah's daughter")
- elif phrase=="Ismail" or phrase=="Hafsah" or phrase=="Hafzah":
- print("Iam Lubattillah's grandchild")
- else:
- print("not part of our family members")
- print("Welcome to our family")
- yob=input("year of birth? ")
- age=2019 - int(yob)
- if age>18:
- print("you are no longer a juvenile")
- else:
- print("your a juvenile")
- occupation=input("what is your occupation? ")
- if age<18 and occupation=="student":
- print("do not drink alcohol or go to the clubs")
- elif age>=18 and age<30 and occupation=="businessman":
- print("Put more efforts in your business")
- else:
- print("You can think of having your own family")
- print("bye")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement