Game Preview

Syntax Recall

  •  English    11     Public
    Programming Construct, Datatype, syntax
  •   Study   Slideshow
  • The number or word we give to a variable
    VALUE
  •  5
  • If you want more than one option for your code, what do you use (after if)?
    else
  •  5
  • What is python?
    programming language
  •  5
  • Which Python statement will check to see if a is greater than b?
    if a>b :
  •  5
  • Which statement will check to see if a is equal to b?
    if a==b :
  •  5
  • What does INT means in python?
    WholeNumber
  •  5
  • Insert the missing part of the code in this red box
    print
  •  5
  • Create a variable named carname and assign the value Volvo to it.
    carname = Volvo
  •  5
  • The following code example would print the data type of x, what data type would that be?
    String
  •  5
  • What will the output be from the following code? print("3*4+5")
    3*4+5
  •  5
  • To solve a problem that requires the user to enter 10 numbers would use what type of iteration?
    For Loop
  •  5