Skip to content
Pooja Bhatia Classes Hari Nagar
  • We teach following classes
    • Class 12
    • Class 11
    • Class 10
    • Class 9
  • Sumita Arora IP/CS Solutions
  • Jobs/Internship
Pooja Bhatia Classes Hari Nagar

sa 12 cs chapter 9

1. Write a program that uses a function called find_in_list() to check for the position o f the first occurrence of v in the list passed as parameter (1st) or -1 if not found. The header for the function is given below

sa 12 cs chapter 9 / PythonCSIP CS IP

def find_in_list (1st, v ): “”” lst – a list v – a value that may or may not be in the list “”” # Code def find_in_list(lst, v): for i in range(len(lst)): if lst[i] == v: return i return -1 # if the value v is not found -1 is returned l = [1, […]

1. Write a program that uses a function called find_in_list() to check for the position o f the first occurrence of v in the list passed as parameter (1st) or -1 if not found. The header for the function is given below Read More »

2. Implement the following function for a linear list, which find outs and returns the number of unique elements in the list

sa 12 cs chapter 9 / PythonCSIP CS IP

2. Implement the following function for a linear list, which find outs and returns the number of unique elements in the list Read More »

Post pagination
1 2 … 24 Next →
  • We teach following classes
    • Class 12
    • Class 11
    • Class 10
    • Class 9
  • Sumita Arora IP/CS Solutions
  • Jobs/Internship
  • We teach following classes
  • Sumita Arora IP/CS Solutions
  • Jobs/Internship

Copyright © 2025 Pooja Bhatia Classes Hari Nagar | Powered by Pooja Bhatia Classes Hari Nagar.