Study

Python Basics

  •   0%
  •  0     0     0

  • What is the error in the code: Print("Hello")
    "Print" should be "print"
  • name="Ali" print(name)
    Ali
  • What is the missing word in the blank: ________("good morning")
    print
  • The output of: print(50 - 10*4)
    10
  • What's is the output of this line: print("Hello World")
    Hello World
  • What is the missing word in the blank: age = ________("enter your age: ")
    input
  • What is the type of this variable: is_students = True
    Boolean
  • What is the error here: print(Good morning)
    print("Good morning")
  • What programming language do we use: (Python, Java, C++, HTML)
    Python
  • What is the output of: print(1+1)
    2
  • What is the output of: print("1"+"1")
    11
  • a=2 b=3 print(a*b)
    6
  • What is the type of this variable: length=163.2
    long