This is the character returned by "I Love Python"[5]
What is "e"?
This loop runs forever.
What is an infinite loop or what is a while True loop?
This is the programming language used to build web pages and transfer information on the web.
What is HTML (Hyper Text Markup Language)?
This function returns returns a number rounded to ndigits
What is .round()?
This is used to create multi-line comments.
What is '''?
This is the string returned by
alphabet = ["a", "b", "c", "d"]
alphabet.pop(1)
What is "["a", "c", "d"]?
Computers run on this number system.
What is Binary?
We use this type of statement to iterate through a collection of elements.
What is a for loop?
L = [ ['a','b','c'], ['x','y','z'] ]
The statement that would print 'y' by accessing its index.
What is print( L[1][1] )?
A statement that returns an iterator of integers from start to stop, with an increment of step .
What is range()?
This string operator that indicates an escape character
What is \ (aka the escape character)?
The statement that would add the nearest enemy to a variable.
What is enemy = hero.findNearestEnemy()