Read the Code
Code
Python Concepts
General Knowledge
Random
200

What would be the result of this print?

a = [98, 25, 37, 84, 33]

a[3] = 21

print(a)


[98, 25, 37, 21, 33]

200

Make a python code to print numbers from 2 - 20 on the whiteboard

for x in range(2,21):

  print(x)

200

Name the 4 datatypes in python

float, integer, strings, booleans

200

What color is the 'black box' on an airplane?

Orange

200

Name the main characters in Friends

Ross, Rachel, Chandler, Monica, Joey, Phoebe 

400

What is the value of a and b in this code

a = 2

b = 3

for i in range(3):

    a = a + b

    b = a - b

print(a, b)

a = 12

b = 7

400

Ask the user for a number and show if it is positive or negative on the whiteboard

:D

400

Is a container that stores a value

Variable

400

name 10 elements of the periodic table

Public Decide

400

Whats the name of the magical portal that appears in thor movies?

Bifrost

600

What is the answer of:

a = [6,8, 1, 5]

x = 0

for i in range(len(a)):

    if a[i] % 2 == 0:

        x = x + a[i]

    else:

        x = x - 1

print(x)

12

600

Ask a number to a user and print all the even numbers from 1 to that number

on the Whiteboard

:p

600

How a function is executed?

By Calling it

600

What does 'Wi-fi' stands for?

Wireless Fidellity

600

How many bones are in a human body

206
800

What would it print?
a = [3,4,5,6,7]

x = 0

for n in a:

    if n == 5:

        continue

    x = x + n

print(x)

20

800

Using functions (Create a function)

create a list with 5 float numbers and print the list

:O

800

Name the python operators

Assignment, Comparison, Logical, Artithmetic Operators

800

What does 'www' stands for?

World wide web

800

Who wrote the famous novel 

"Alice's Adventures in Wonderland'

Lewis Carroll

1000

s = "1284"

x = int(s[0]) + int(s[1])

y = int(s[2]) * int(s[3])

result = str(x) + str(y)

print(result)

332

1000

Using Functions (Create the function)

Create a list with 5 float numbers and print the lowest number

:D

1000

Name 7 Functions in python

int(), input(), print(), range(), append(), len(), count() etc...

1000

What is penicillin made from?

Penicillin is made from a type of mold called Penicillium.

1000

Name all in the classroom by their full names

Public decide