Game Preview

Python Basics

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