Friday, March 31, 2023

ARRAY PYTHON PROGRAMMING

                         ARRAY PYTHON PROGRAMMING 


           seats = [1,2,3,4,5,6,7,8,9,10]
           print("seats in bus :",seats)
          x = int(input("enter the seat no :"))
          availableseats = [1,3,5,7,9]
          notavailableseats = [2,4,6,8,10]
          if x in availableseats:
              print("the seats are availble")
   else:
        print("the seats are not available")
      
          OUTPUT:

      seats in bus : [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
      enter the seat no :1
      the seats are availble













USD TO INR C++ PROGRAMMING

  NALLAMUTHU GOUNDER MAHALINGAM COLLEGE                                                 POLLACHI-642001                                     ...