Question
Which statement(s) is (are) true about the ‘for loop in Python?
What is the output for the following code?
>>> colors = I’green’, ‘blue’, ‘red’, ‘yellow’]
>>> print (len(colors)
Select which are true for tuples in Python:
Which is the correct order of operations?
What symbol is used to indicate a comment when writing Python code?