CPSC120
Fundamentals of Computer Science

In-class Activity 25

  1. Create a Python program that prompts the user for a file name and prints the number of words in the file.

  2. Create a Python program that prompts the user for the name of an input file and the name of an output file. The program should create the output file and fill it with the contents of the input file with all alphabetic characters converted to upper case.