Also if you want to find the index of the resulting max, print(a.index(max_num)) Direct approach by using function max() max() function returns the item with the highest value, or the item with the highest value in an iterable. Python program to find smallest number in a listGATE CS Original Papers and Official KeysPython Program for Largest Sum Contiguous Subarray7 Cool Python Project Ideas for Intermediate DevelopersSelect Rows & Columns by Name or Index in Pandas DataFrame using [ ], loc & ilocPython | Largest number possible from list of given numbersPython | Convert List of String List to String ListPython program to find number of m contiguous elements of a List with a given sumWriting data from a Python List to CSV row-wisePython Program to convert List of Integer to List of StringPython | Largest, Smallest, Second Largest, Second Smallest in a ListPlease write to us at contribute@geeksforgeeks.org to report any issue with the above content.Python program to create a list of tuples from given list having number and its cube in each tuplePython - Get number of characters, words, spaces and lines in a fileGiven a list of numbers, the task is to write a Python program to find the largest number in given list.Python | Indices of N largest elements in listWrite Interview ... Browse other questions tagged python or ask your own question. (i) Using if-else statement (1) Method 1 (2) Method 2 (ii) Using the list and inbuilt function. acknowledge that you have read and understood ourPython Program to find largest element in an arrayPython | Convert list of string to list of listPython | Convert list of tuples to list of listPlease Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.Python | Extract substrings between bracketsPython program to find N largest elements from a listPython program to print odd numbers in a ListPython vs Java - Who Will Win the Battle in 2020?ISRO CS Original Papers and Official KeysPython | Element with largest frequency in listMethod 3 : Find max list element on inputs provided by userPython program to find second largest number in a listPython | Multiply all numbers in the list (4 different ways)Python | Count occurrences of an element in a listPython program to print all negative numbers in a rangePython | Find frequency of largest element in listCheck if element exists in list in PythonPython program to print even numbers in a listIf you like GeeksforGeeks and would like to contribute, you can also write an article usingHow to create an empty DataFrame and append rows & columns to it in Pandas?Python Program for Find largest prime factor of a numberPython program to print positive numbers in a listPython | Find maximum length sub-list in a nested listMethod 4 : Without using built in functions in python:Python program to find largest number in a listPython program to print negative numbers in a listPython program to print all odd numbers in a rangeMethod 1 : Sort the list in ascending order and print the last element in the list.Python Program for Largest K digit number divisible by XPython Program to Find the Number Occurring Odd Number of TimesPython program to print all positive numbers in a rangeISRO CS Syllabus for Scientist/Engineer ExamHow To Convert Python Dictionary To JSON? Read each number in your python program using a for loop. How to Install WordPress on AWS Apache 2 Ubuntu 18.04Python : Program to Find/Calculate Sum of n Numbers3Way to Remove Duplicates From Array In JavaScriptLaravel Form Validation Before Submit ExampleJavaScript (ES6) Interview Question and AnswerSimple Registration Form in PHP with Validationlaravel HasManyThrough Relationship with ExampleHow to Fetch Data From Database in PHP using AjaxSending Email Via Gmail SMTP Server In LaravelLaravel Migration Add Single or Multiple Columns in TablePython Program to Find The Net Bill Amount After DiscountHow-to-Install Laravel on Windows with ComposerLaravel Livewire File Upload From ScratchStripe Payement Gateway Integration in LaravelLaravel Installation Process on Windows SystemCopyright © Tuts Make . Take input number for the length of the list using python input() function. In this program, we are going to find the largest number among three numbers, similar to the previous one, but it is nested if-else version. Next, it will find the largest number among that three numbers using Python Nested If. As well as demo example.Laravel 6 Tutorial For Beginners Step by StepHow to Make User Login and Registration Laravellaravel One to Many Relationship with ExampleLaravel Many to Many Relationship with ExampleRemove Specific-Special Characters From String In PHP To understand this example, you should have the knowledge of the following Python programming topics: Python Program to Find the Largest Among Three Numbers In this program, you'll learn to find the largest among three numbers using if else and display it.