if is_male: print("you are male") else: print("you are female")
Get link
Facebook
X
Pinterest
Email
Other Apps
Comments
Popular posts from this blog
class and object class Person: def __init__ ( self , name , age): self .name = name self .age = age def myfunc ( self ): print ( "Hello my name is " + self .name) p1 = Person( "John" , 36 ) p1.myfunc()
Comments
Post a Comment