Game Preview

How to use counter and conditions in loops

  •  English    9     Public
    Loops
  •   Study   Slideshow
  • Count the even number from 1 to 20
    2,4,6,8,10,12,14,16,18,20
  •  20
  • Keep counting random numbers until a number larger then (X) is given.
    150 or larger
  •  20
  • counting odd number backwards from 15 to 1.
    15,13,11,9,7,5,3,1
  •  20
  • the data type of a variable contains text is ?
    String
  •  10
  • To change a string varibale into integer you use ................ ?
    int() function
  •  10
  • what we use for Loops in python ?
    for, while
  •  10
  • Boolean values are ............. and .............. ?
    True and False
  •  15
  • True and False = ........... ?
    False
  •  15
  • True or False = .............. ?
    True
  •  15