Instructions:
print(type([1, 2, 3]))
a) <class 'list'>
b) <class 'tuple'>
c) <class 'dict'>
d) <class 'set'>
a) func
b) function
c) def
d) define
x = 5
print(x == 5 and x < 10)
a) True
b) False
c) 5
d) Syntax Error
a) set
b) list
c) map
d) tuple
a) open("data.txt", "r")
b) open("data.txt", "read")
c) openfile("data.txt")
d) file.open("data.txt")
a) // This is a comment
b) * This is a comment *
c) # This is a comment
print(2 ** 3)
a) 6
b) 8
c) 9
d) 5
a) set()
b) {}
c) []
d) emptyset()
len() function do?a) Returns the length of an object
b) Adds two numbers
c) Finds a substring
d) Converts to integer
a) for x to y:
b) foreach x in y:
c) for x in y:
d) for (x in y)