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 11 cs chapter 7

10. Are these values equal ? Why/why not ?

sa 11 cs chapter 7, sa 11 ip chapter 4, Uncategorized / PythonCSIP CS IP

i) 20 and 20.0 # Yes (ii) 20 and int(20) # Yes (iii) str(20) and str(20.0) # No becuase str(20.0) is equal to ‘20.0’ (iv) ‘a’ and “a” # Yes

10. Are these values equal ? Why/why not ? Read More »

10. Make change in the expression for z of previous question so that the output produced is zero. You cannot change the operators and order of variables. (Hint. Use a function around a sub-expression)

sa 11 cs chapter 7, sa 11 ip chapter 4, Uncategorized / PythonCSIP CS IP

x, y = 4, 8 z = x/y*y print(z) Ans: x, y = 4, 8 z = x/y*y and 0 print(z)

10. Make change in the expression for z of previous question so that the output produced is zero. You cannot change the operators and order of variables. (Hint. Use a function around a sub-expression) Read More »

Post pagination
← Previous 1 … 40 41
  • 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.