PYTHON BASICS
PYTHON medium
PYTHON difficult
DISNEY
Harry Potter
100

Computer programming language often used to build websites and software

What is a PYTHON?
100

 Python is a case sensitive language.

Is python case sensitive?

100

Comments in Python start with a # character.


How do you write comments in python?

100

Lindsay Lohan

Which actress played the role of twin sisters in Disney’s “The Parent Trap?

100

James and Lily Potter

   Name Harry Potter's parents.

200

 Python is a dynamic, interpreted (byte code-compiled) language.

How the PYTHON works?

200

Slicing is used to access parts of sequences like lists, tuples, and strings.

What is slicing in Python?

200

Random module is the standard module that is used to generate a random number.

How can you generate random numbers in Python?

200

Hakuna Matata 

 What song do Timon and Pumba teach Simba in the The Lion King?

200

 Voldemort struck him with the Killing Curse when he was a baby

 How did Harry Potter get his scar?

300

A high-level, interpreted, general-purpose programming language.

What type of language is python? 

300

Decorators are used to add some design patterns to a function without changing its structure.

What are decorators in Python?

300

An anonymous function  known as a lambda function.

What is a lambda function?

300

 Maleficent

What is the name of the evil fairy who cursed Princess Aurora?

300

The  Owl

 How do the members of the wizard community send their mail?

400


  1. Easy to use
  2. Interpreted language
  3. Dynamically typed
  4. Free and open source–

What are the benefits of using Python?

400

A namespace in python refers to the name which is assigned to each object in python.

What are Python namespaces?

400

Self is an instance or an object of a class.

What is self in Python?

400

Mickey Mouse has three fingers and a thumb.

How many fingers does Mickey Mouse have?

400

A cat

 What type of animal does Professor McGonagall transform into in the movie 'Harry Potter and The Sorcerer's Stone'?

500

 Keywords in python are reserved words that have special meaning.

 What are Keywords in Python?

500

PEP stands for Python Enhancement Proposal.

What is pep 8?

500

Dictionary and list comprehensions are just another concise way to define dictionaries and lists.

What are Dict and List comprehensions?


500

Doc, Grumpy, Happy, Sleepy, Bashful, Sneezy, and Dopey

 What were the names of the seven dwarfs in the movie “Snow White and the Seven Dwarfs?”

500

 An object formed by dark magic

What is a Horcrux?