Question: In a single file called 'hw3.py write a Python function to do each of the following. You should write one function for each question. 1.

 In a single file called 'hw3.py write a Python function to

In a single file called 'hw3.py write a Python function to do each of the following. You should write one function for each question. 1. Write a function that takes a string as input and does the following: a. Returns True if the input string has more vowels than consonants b. Returns False if the input string has more consonants than vowels C. Returns None (this is the Python equivalent of null) if the input string has an equal number of consonants and vowels. We'll ignore type safety for now! 2. The volume of a cylinder is given by the formula V = Thr^2. Given a radius R and height H as inputs return the volume of a cylinder with radius R and height H. 3. Comma-separated values (CSV) is a popular format for storing data. For the first step of the CSV portion of this assignment, write a function that takes a list of strings as inputs, and returns a single string created by joining all the input strings together, with a comma separating them

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!