If-else (program in python)

            If-else (program in python)

Code :

"""

@author: Sanjay Sharma

"""

names=["Mom","Papa","Sis","Friends"]


name=input("please enter your name\n")


if name in names:

    print("you are important in my life")

else:

    print("my heart is busy please try again")

Out Put :                             

please enter your name

GF

my heart is busy please try again



Comments

Popular posts from this blog

What is chopper

Top 10 Termux command

Using Ping in windows command line