Question: Develop in python Develop a function that will swap the given numbers. Example. Input Is (4,5) output should e (5,4). Generate a random number between
Develop in python
- Develop a function that will swap the given numbers. Example. Input Is (4,5) output should e (5,4).
- Generate a random number between 1 and 10 inclusive. Ask the user for an input. If the input and the random number are the same, print "you guessed it right" else print "sorry, better luck next time".
- Ask the user to enter 10 values. Develop a program to do the following;
a. Printout the highest and lowest values.
b. Printout the average of the values.
c. Printout the second largest value.
5.Develop a function to check whether the input is an integer or not.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
