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

11 cs 6 ex 6.4

What is wrong with the following statement ? Number = input (“Number”) Sqr = Number*Number

sa 11 cs chapter 6, sa 11 ip chapter 3 / PythonCSIP CS IP

Number is a string type here because all input statements take values as a string type and two strings can not be multiplied. Hence a TypeError will be raised

What is wrong with the following statement ? Number = input (“Number”) Sqr = Number*Number Read More »

What happens when you try to access the value of an undefined variable ?

sa 11 cs chapter 6, sa 11 ip chapter 3 / PythonCSIP CS IP

An error called NameError is raised

What happens when you try to access the value of an undefined variable ? Read More »

Post pagination
← Previous 1 2 3 4 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.