CIS 111 Demonstration Python Programs

Output

  1. hello.py: display text on the screen
  2. display1.py: display a number on the screen
  3. display2.py: display a variable's value on the screen
  4. display3.py: display text and a variable's value on the screen

Input

  1. input1.py: read a string from the keyboard
  2. input2.py: read an integer from the keyboard
  3. input3.py: read a floating point number from the keyboard