Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Write simple python program. 1. degreeToFahrenheit(degree celcius)- Function that asks the user to input data in Degree Celsius (C) and convert it to Fahrenheit
Write simple python program. 1. degreeToFahrenheit(degree celcius)- Function that asks the user to input data in Degree Celsius (C) and convert it to Fahrenheit (F) using the formula, F= (C*5/9) +32. 2. countVowels(sentence) - Function that returns the count of vowels in a sentence. Check for both upper-case and lower-case alphabets. 3. factorial (num) - Function that computes the factorial of a number entered. Example: factorial of 5= 5*4*3*2*1. 4. commonData(list1, list2) - Function that takes two lists and returns true if they have at least one common element. 5. sortList(nList, order) - Function that sorts a list nList, either in descending or ascending order. www 6. string countupperlower(sentence) - Function that accepts a string and calculates the number of uppercase letters and lowercase letters 7. sortList(nList, order) - Function that sorts a list nList, either in descending or ascending order.
Step by Step Solution
★★★★★
3.48 Rating (148 Votes )
There are 3 Steps involved in it
Step: 1
Step 1 Here is a simple Introduction This Python program includes functions for temperature conversion vowel counting factorial computation list operations and string analysis providing a versatile se...Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started