Jul-30-2019, 01:12 PM
(Jul-30-2019, 01:03 PM)cvsae Wrote: i dont know if understand correcly but i wil try to help cann you provided the expected results ??
try this
is_male = True is_female = False if is_male and not(is_female): name =(input("Please State My Name! It must be a Male name:")) if is_male and name == "Connor": print("My Name Is Connor, I'm The Android Sent by Cyberlife!") elif is_male and name != "Connor": print("My name is " + name + "")
Hello, thank you for your help, you have resolved my problem! Many thanks!