#QUIZ01

Quiz 1 

TC101 (Python TC1014 edition)

Remember that this will not be graded but you should keep this sheet and your solutions as evidence of work. Email your answers to Ken today (so we keep a record of your code today) and also I recommend you post your code on Github and/or your blog as another blog post for this quiz.

Use your own computer to write the code. Remember that I trust you and you need to do this honestly to give yourself a good “measure” of your ability to this point.

  1. Create a file called prog1.py Write a program that asks the user for two values (radius, height) of type float and returns the volume (V = ¶ r2 * h) of a cylinder with that radius/height as a float

CC BY-SA 4.0 #QUIZ01 by carlosdanielmartinezblog is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.