Question: 1 . Write a Python function that accepts a string and calculates the number of upper case letters and lower case letters. Input string might
Write a Python function that accepts a string and calculates the number of upper case letters and lower case letters. Input string might contain special characters say @# You need to ignore them while performing the calculation.
Write a Python function that checks whether a number is in a given range inclusive of high and low
Read a string and a pattern and return True if the pattern exists in the string otherwise False.
Write a Python program to find the factorial of a number.
Implement a simple calculator : Read two numbers and the operation addition subtractionmultiplicationdivisionreminderfloor division
Output the corresponding result. Hint: use ifelifelse
Write a Python program to calculate the area of a triangle :
beginarrayl
sabc
a r e asqrtleftssasbscright
endarray
You are given three sides of a triangle: a b and c Return True if they constitute a rightangled triangle.
Write a python program which returns the reverse of a number. Don't use string operations.
Sample Input :
Sample Output :
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
