Wednesday, August 25, 2021

Core python program for list of hospitals in udumalpet surrounding

 def Subam(name):

    print("Dr."+name)

    print("\tAddress: Subam Clinic Medical Centre, No: 2, Saravana Street, Udumalaipettai, Tamil Nadu 642126")

    print("\tPhone: 04252 222 018")

    return Subam


def sk(name):

    print("Dr."+name)

    print("\tAddress: SK Medical Centre, No:20, Saravana Street, Udumalaipettai, Tamil Nadu 642126")

    print("\tPhone: 04252 232 233")

    return sk

    

def Saravana(name):

    print("Dr."+name)

    print("\tAddress: Saravana Hospital, No:9B, Kalpana Rd, Udumalaipettai, Tamil Nadu 642126")

    return Saravana

    

def Sivakani(name):

    print("Dr."+name)

    print("\tAddress: Sivakani Hospital, Nehru Street, Udumalaipettai, Tamil Nadu 642126")

    return Sivakani

    

def SNR(name):

    print("Dr."+name)

    print("\tAddress: SNR Eye Hospital,No:10, YRLayout, Udumalaipettai, Tamil Nadu 642126")

    print("\tPhone: 094863 55014")

    return SNR

    

def Srichakra(name):

    print("Dr."+name)

    print("\tAddress: Srichakra Hospital,No:4/147, Nehru Street, Udumalaipettai, Tamil Nadu 642126")

    print("\tPhone: 096262 00600")

    return Srichakra

    

def Senthil(name):

    print("Dr."+name)

    print("\tAddress: Senthil Kumar Paediatric Clinic,No:12, YRLayout, Udumalaipettai, Tamil Nadu 642126")

    print("\tPhone: 04252 230 403")

    return Senthil

    

def Lakshmi(name):

    print("Dr."+name)

    print("\tAddress: Lakshmi clinic,10.B, M.R.Lodge N Rd, Anusham Nagar, Udumalaipettai, Tamil Nadu 642126")

    return Lakshmi


print("\tList of the Hosiptal in Udumalpet")

print("\n\t1.Subam Clinic Medical Centre(Dr. Ravichandran)")

print("\t2.SK Medical Centre(Dr. Srinivas)")

print("\t3.Saravana Hospital(Dr. Nirmala balakumar)")

print("\t4.Sivakani Hospital(Dr. Sivakani)")

print("\t5.SNR Eye Hospital(Dr. Selvaraj R)")

print("\t6.Srichakra Hospital(Dr. Ashok M)")

print("\t7.Senthil Kumar Paediatric Clinic(Dr. Senthil Kumar)")

print("\t8.Lakshmi clinic(Dr. Lakshmi)")

B=1

while B<=5:

    a=str(input("\n\tEnter the Doctor name:"))

    if a=="Ravichandran":

        Subam=Subam("Ravichandran")

        B=B+1

    elif a=="Srinivas":

        sk=sk("Srinivas")

        B=B+1

    elif a=="Nirmala balakumar":

        Saravana=Saravana("Nirmala balakumar")

        B=B+1

    elif a=="Sivakani":

        Sivakani=Sivakani("Sivakani")

        B=B+1

    elif a=="Selvaraj R":

        SNR=SNR("Selvaraj R")

        B=B+1

    elif a=="Ashok M":

        Srichakra=Srichakra("Ashok M")

        B=B+1

    elif a=="Senthil Kumar":

        Senthil=Senthil("Senthil Kumar")

        B=B+1

    elif a=="Lakshmi":

        Lakshmi=Lakshmi("Lakshmi")

        B=B+1


output:

List of the Hosiptal in Udumalpet


        1.Subam Clinic Medical Centre(Dr. Ravichandran)

        2.SK Medical Centre(Dr. Srinivas)

        3.Saravana Hospital(Dr. Nirmala balakumar)

        4.Sivakani Hospital(Dr. Sivakani)

        5.SNR Eye Hospital(Dr. Selvaraj R)

        6.Srichakra Hospital(Dr. Ashok M)

        7.Senthil Kumar Paediatric Clinic(Dr. Senthil Kumar)

        8.Lakshmi clinic(Dr. Lakshmi)


        Enter the Doctor name:Ravichandran

Dr.Ravichandran

        Address: Subam Clinic Medical Centre, No: 2, Saravana Street, Udumalaipettai, Tamil Nadu 642126

        Phone: 04252 222 018


        Enter the Doctor name:Srinivas

Dr.Srinivas

        Address: SK Medical Centre, No:20, Saravana Street, Udumalaipettai, Tamil Nadu 642126

        Phone: 04252 232 233


USD TO INR C++ PROGRAMMING

  NALLAMUTHU GOUNDER MAHALINGAM COLLEGE                                                 POLLACHI-642001                                     ...