Question: Q1. Define a function to input nos. from the user and return the sum of those nos. Q2. Write a program to compute the maximum

 Q1. Define a function to input nos. from the user and

Q1. Define a function to input nos. from the user and return the sum of those nos. Q2. Write a program to compute the maximum of three nos. using functions. Q3. Write a program to show the common letters in two different strings. Q4. Write a program to predict whether three points for a triangle or not. Q5. Write a function to implement matrix multiplication. Q6. Write a function to check if a string is palindrome or not. Q7. Define a function named "times" to multiply two elements. Q8. Implement a Python function that is passed a list of numeric values and a particular threshold value, and returns the list with all values above the given threshold value set to 0. The list should be altered as a side effect to the function call, and not by function return value. Q9. Compute Area of a Circle using all possible function prototypes. Q10. Write a Python function named printAsterisks that is passed a positive integer value n, and prints out a line of n asterisks. If n is greater than 75, then only 75 asterisks should be displayed. Q11. Define python functions to print "even" or "odd" depending upon the no. entered by the user is even or odd. Q12. Write a program to define functions one two or three and call them using a variable if user enters 1,2 or 3, otherwise display error of invalid input. Q13. Compute simple interest for given principle(P), number of years(N) and rate of interest (R). If R value is not given then consider R value as 10.5%.Use keyword arguments for the same. Q14. Write a program to take two values from user and return by combining them in the form of a tuple using functions

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!