wk4 - quiz.py - Question 1 Which Python keyword indicates...

  • Coursera
  • CS 100
  • Test Prep
  • adilkemo
  • 3
  • 100% (4) 4 out of 4 people found this document helpful

This preview shows page 1 - 2 out of 3 pages.

Question 1Which Python keyword indicates the start of a function definition?
Question 2In Python, how do you indicate the end of the block of code that makes up the function?You put a # character at the end of the last line of the function
You put the colon character (:) in the first column of a line
Question 3In Python what is the raw_input() feature best described as?
What does the following code print out?

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture