Question 1

What is the expected behavior of the following code?
  • Question 2

    A file name like this one below says mat: (select three answers)
    services. cpython-36.pyc
  • Question 3

    Assuming that the snippet below has been executed successfully, which of the following expressions will evaluate to True? (Select two answers) string = 'python' [::2] string = string[-1] + string[-2]
  • Question 4

    Which of the following lambda definitions are correct? (Select two answers)
  • Question 5

    Assuming that the code below has been placed inside a file named code.py and executed successfully, which of the following expressions evaluate to True? (Select two answers)