#Python

Published: 23 March 2020
on channel: codeiq
63
4

Python Program to find the Biggest and Smallest of 3 numbers.

--- Read 3 input numbers using input() or raw_input().
--- Use two functions largest() and smallest() with 3 parameters as 3 numbers
--- largest(num1, num2, num3)
-- check if num1 is larger than num1 and num2, if true num1 is largest, else
-- check if num2 is larger than num1 and num3, if true num2 is largest,
-- if both the above fails, num3 is largest
-- Print the largest number
--- smallest(num1, num2, num3)
-- check if num1 is smaller than num1 and num2, if true num1 is smallest, else
-- check if num2 is smaller than num1 and num3, if true num2 is smallest,
-- if both the above fails, num3 is smaller
-- Print the smallest number

#pythontutorial


On this page of the site you can watch the video online #Python with a duration of hours minute second in good quality, which was uploaded by the user codeiq 23 March 2020, share the link with friends and acquaintances, this video has already been watched 63 times on youtube and it was liked by 4 viewers. Enjoy your viewing!