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

Author name: PythonCSIP CS IP

9. Write a program that inputs two tuples seq_a and seq_b and prints True if every element in seq_a is also an element of seq_b, else prints False.

sa 11 cs chapter 12 / PythonCSIP CS IP

9. Write a program that inputs two tuples seq_a and seq_b and prints True if every element in seq_a is also an element of seq_b, else prints False. Read More »

10. Computing Mean. Computing the mean of values stored in a tuple is relatively simple. The mean is the sum o f the values divided by the number o f values in the tuple. That is,

sa 11 cs chapter 12 / PythonCSIP CS IP

  # Code s = tuple(map(int, input(‘Enter a sequence of numbers : ‘).split())) # split() splits the input on whitespace, map() is converting the string types to integer types print(‘Mean of the above tuple is’, sum(s)/len(s)) # sum() gives the sum of any sequence

10. Computing Mean. Computing the mean of values stored in a tuple is relatively simple. The mean is the sum o f the values divided by the number o f values in the tuple. That is, Read More »

Post pagination
← Previous 1 … 278 279 280 … 554 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 © 2026 Pooja Bhatia Classes Hari Nagar | Powered by Pooja Bhatia Classes Hari Nagar.