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

  Рет қаралды 46,540

Example Program

Example Program

5 жыл бұрын

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
/ exampleprogram
/ exampleprogram
/ examplecomputerprogram
Our Website
www.ExampleProgram.com
#PythonProgramming #ExampleProgram

Пікірлер: 48
@YT-mm1tn
@YT-mm1tn 2 жыл бұрын
Wow! This guy is the best, he explained it so well!!! Amazing! 😮
@ExampleProgram
@ExampleProgram 2 жыл бұрын
Wow, thanks!
@n.karthik6615
@n.karthik6615 2 жыл бұрын
That's easy to understand
@Rimm10
@Rimm10 Жыл бұрын
Sir it is showing syntaxe error for the last print statement. Name 'largest' is not defined it seems. Plz help
@insanityb3ast258
@insanityb3ast258 3 жыл бұрын
I had h.w for this and to check which is even or odd Thanks for the help Will tell all my friends
@ExampleProgram
@ExampleProgram 3 жыл бұрын
Welcome :)
@dasrathkota7074
@dasrathkota7074 2 жыл бұрын
This was very helpful for my fit portfolio
@ExampleProgram
@ExampleProgram 2 жыл бұрын
glad it helped :)
@jorgejaredserrano7917
@jorgejaredserrano7917 Жыл бұрын
How do you enter the number?? I put “Enter number” but it never asks me to put a number
@BR44MOTORRAD
@BR44MOTORRAD 2 жыл бұрын
Thanks sir for clear my dout
@ExampleProgram
@ExampleProgram 2 жыл бұрын
Always welcome
@Voloxim
@Voloxim Жыл бұрын
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!
@starstudio143
@starstudio143 2 жыл бұрын
Thanks a lot.. 🥰
@ExampleProgram
@ExampleProgram 2 жыл бұрын
You're welcome 😊
@yyy30
@yyy30 9 күн бұрын
Else if i think we need to right elif
@ExampleProgram
@ExampleProgram 8 күн бұрын
yes
@petrosukums2510
@petrosukums2510 Жыл бұрын
You are good teacher
@ExampleProgram
@ExampleProgram Жыл бұрын
thank you :)
@amazonshoppingstore8888
@amazonshoppingstore8888 Жыл бұрын
Sir plz help me by Making this program using conditional operator
@deepakabram
@deepakabram 3 жыл бұрын
thank you
@ExampleProgram
@ExampleProgram 3 жыл бұрын
You're welcome
@anchal7341
@anchal7341 2 жыл бұрын
Tq you 🙏😊
@ExampleProgram
@ExampleProgram 2 жыл бұрын
Welcome 😊
@MukeshKumar-wm5yx
@MukeshKumar-wm5yx 6 ай бұрын
Thank you sir
@ExampleProgram
@ExampleProgram 6 ай бұрын
Welcome
@louisdadulla8198
@louisdadulla8198 3 жыл бұрын
Sir what if you input a negative number such as n1=77 n2=88 n3= -98 what would be the result. Thank you
@phoenixtyrongaming1213
@phoenixtyrongaming1213 2 жыл бұрын
Bro it will display 88 cuz python already understands negative integers
@rakshana9865
@rakshana9865 Жыл бұрын
N2 is the largest number
@saravanansaravanan4478
@saravanansaravanan4478 5 ай бұрын
Tq ❤
@ExampleProgram
@ExampleProgram 5 ай бұрын
Welcome 😊
@NEHAKUMARI-dm2qn
@NEHAKUMARI-dm2qn Жыл бұрын
If l do this program to find smallest than I just have change largest to smallest right
@gullu2006
@gullu2006 Жыл бұрын
Yes
@siddheshdhanawade3920
@siddheshdhanawade3920 4 жыл бұрын
Great
@ExampleProgram
@ExampleProgram 4 жыл бұрын
Thank you :)
@IThinkItsMe
@IThinkItsMe 3 ай бұрын
Thankyou so much. Sending all my best wishes for teaching me something cool. Hare Krishna.
@ExampleProgram
@ExampleProgram 3 ай бұрын
Glad my video helped you Hare Krishna :)
@OchiengEdwin-tj7ky
@OchiengEdwin-tj7ky 2 ай бұрын
I'm seeing syntax error after following the entire procedure
@ExampleProgram
@ExampleProgram 2 ай бұрын
Please post error details
@ifeanyichukwuoviekofiigbuk5363
@ifeanyichukwuoviekofiigbuk5363 2 жыл бұрын
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 n4........can you explain further sir
@amnahansari4083
@amnahansari4083 2 жыл бұрын
thanks i guess
@petrosukums2510
@petrosukums2510 Жыл бұрын
How can I controls this well
@ExampleProgram
@ExampleProgram Жыл бұрын
sorry I didn't get your question
@RameshPal-cd4cs
@RameshPal-cd4cs 23 күн бұрын
Showing KeyError: ' ' For the print code. Pl help.
@yashthapa118
@yashthapa118 12 күн бұрын
U should put double quotes on the before and after the statement inside the print statement to print it . Not a single quote.
@RameshPal-cd4cs
@RameshPal-cd4cs 12 күн бұрын
Yes it is done . Thank you. Many thanks.
@gobindachandrapradhan6654
@gobindachandrapradhan6654 2 жыл бұрын
use >= instead of > otherwise if u use 2 same numbers like(10,10,5) then program will fail.
@yaseenaljuboori3727
@yaseenaljuboori3727 10 ай бұрын
I tried it and i got duplicated output any idea how to make it only one not 2 that have the same answer?
@kasturiburagohain4349
@kasturiburagohain4349 5 ай бұрын
Lol
Solve any Star Pattern program in Python
18:44
Simply Coding
Рет қаралды 892 М.
Best KFC Homemade For My Son #cooking #shorts
00:58
BANKII
Рет қаралды 62 МЛН
БАБУШКИН КОМПОТ В СОЛО
00:23
⚡️КАН АНДРЕЙ⚡️
Рет қаралды 15 МЛН
39kgのガリガリが踊る絵文字ダンス/39kg boney emoji dance#dance #ダンス #にんげんっていいな
00:16
💀Skeleton Ninja🥷【にんげんっていいなチャンネル】
Рет қаралды 8 МЛН
5 Useful Dunder Methods In Python
16:10
Indently
Рет қаралды 55 М.
6 Tips to write BETTER For Loops in Python
9:19
Patrick Loeber
Рет қаралды 247 М.
C++ Find Largest of Three Values
3:48
Heidi Gentry Kolen
Рет қаралды 29 М.
Pydantic Tutorial • Solving Python's Biggest Problem
11:07
pixegami
Рет қаралды 254 М.
The Fastest Way to Loop in Python - An Unfortunate Truth
8:06
mCoding
Рет қаралды 1,4 МЛН
Python Program to Find the Factorial of a Number Tutorial
12:24
Example Program
Рет қаралды 41 М.
Functions in Python are easy 📞
10:38
Bro Code
Рет қаралды 427 М.
Best KFC Homemade For My Son #cooking #shorts
00:58
BANKII
Рет қаралды 62 МЛН