Question: Mod 1 Homework - Basic Python You ll write 3 functions in 3 different files ( 1 each, for a total of 3 functions )

Mod 1 Homework - Basic Python
Youll write 3 functions in 3 different files (1 each, for a total of 3 functions) for this homework. We provide 1
of the files with skeleton code for the function; you will have to create the other two yourself. Gradescope
will automatically check for correct file names, function names, and docstrings in required functions when
you submit. (Note - every function you write in this class should have a docstring, but gradescope only
automatically checks the functions we explicitly ask for. If you write extra functions, make sure to include
docstrings for them as well).
Neccesary files:
fizzbuzz.py (provided)
anagrams.py (not provided)
letters.py (not provided)
We also provide some files you do not need to submit, but will be helpful for locally testing letters.py:
frost.txt
empty_file.txt
Imports
We do not allow imports on any homework or lab assignments, except for those explicitly specified by
that assignment. Due to the ubiquitous nature of the problems we are solving, there are often modules
that trivialize the assignments when imported, so we restrict imports to ensure youre learning all relevant
techniques.
Do not import any modules except for those you write yourself, or any exceptions below:
You can import string for Problem 3- count_letters
Problem 1- fizzbuzz.py
Write a function fizzbuzz(start, finish) that prints numbers from start to finish. Replace multiples
of 3 with "fizz", multiples of 5 with "buzz", and multiples of both with "fizzbuzz".
Once you have a working algorithm, edit it to also replace numbers that contain 3 or 5(e.g.13,52) with
"fizz", "buzz", or

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!