Python Example Program to find the Largest among 3 numbers entered by the User

preview_player
Показать описание
in this video you will learn to write an example program to find the largest among 3 numbers entered by the user using if else conditional statements in Python programming language.

our Social Media Pages

Our Website

#PythonProgramming #ExampleProgram
Рекомендации по теме
Комментарии
Автор

Wow! This guy is the best, he explained it so well!!! Amazing! 😮

YT-mmtn
Автор

I'm seeing syntax error after following the entire procedure

OchiengEdwin-tjky
Автор

Thankyou so much. Sending all my best wishes for teaching me something cool. Hare Krishna.

IThinkItsMe
Автор

I had h.w for this and to check which is even or odd
Thanks for the help
Will tell all my friends

insanitybast
Автор

This was very helpful for my fit portfolio

dasrathkota
Автор

Sir it is showing syntaxe error for the last print statement. Name 'largest' is not defined it seems.
Plz help

Rimm
Автор

Sir what if you input a negative number such as n1=77 n2=88 n3= -98 what would be the result. Thank you

louisdadulla
Автор

Hello there, what if I want to find the two largest numbers out of the 3 provided? I'll look forward to anyone reading this willing to help me out.

Thank you!

Voloxim
Автор

How do you enter the number?? I put “Enter number” but it never asks me to put a number

jorgejaredserrano
Автор

use >= instead of > otherwise if u use 2 same numbers like(10, 10, 5) then program will fail.

gobindachandrapradhan
Автор

if n1 > n2 and n1 > n3 and n1 > n4:
largest = n1
elif n2 > n3:
largest = n2
elif n3 > n4:
largest = n3
else:
largest = n4
print("Largest among {}, {}, {} and {} is {}".format(n1, n2, n3, n4, largest))

this also worked even though I didn't compare the second statement with n1 and you explain further sir

ifeanyichukwuoviekofiigbuk
Автор

Sir plz help me by Making this program using conditional operator

amazonshoppingstore
Автор

If l do this program to find smallest than I just have change largest to smallest right

NEHAKUMARI-dmqn
Автор

Showing KeyError: ' '
For the print code.
Pl help.

RameshPal-cdcs