#Python

Pubblicato il: 23 marzo 2020
sul canale di: 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


In questa pagina del sito puoi guardare il video online #Python della durata di ore minuti seconda in buona qualità , che l'utente ha caricato codeiq 23 marzo 2020, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 63 volte e gli è piaciuto 4 spettatori. Buona visione!