MSK Technologies

Home
Practice Programs
Java Programs Python Programs Java Quiz
Pages
Python Java Material PLSQL Material
Search A Job

Write a python program to Find the index of the largest number in the list

  1. Home
  2. Python Programs

Write a python program to Find the index of the largest number in the list

Write a python program to Find the index of the largest number in the list

Program
def myfun():
    x = [120, 425, 657, 879, 134, 67, 13]
    max_num = max(enumerate(x, start=0),key = lambda x: x[1])
    print('The index of the largest number is :',max_num[0])

if __name__=="__main__":
    myfun()



Output:

The index of the largest number is : 3



More Questions


35 . Write a python program to Find the index of the largest number in the list
36 . Write a python program to Find the index of the smallest number in the list
37 . Write a python program to find absolute value of a number in the list
38 . Write a python program to adding a thousand separator
39 . Write a python program startswith and Endswith Methods
40 . Write a python program to print Nlargest numbers
41 . Write a python program to print Nsmallest numbers
42 . Write a python program to check two strings are Anagram or not
43 . Write a python program to checking internet speed
44 . Write a python program to print reserved keywords
45 . Write a python program to print properties and methods



For latest job updates join Telegram Channel: https://t.me/sateeshm

Interview Questions

Java Interview Questions

Python Interview Questions

Oracle Interview Questions

100 Most Asked Java Interview Questions and Answers

HR Interview Questions and Answers

Top 50 OOPS Interview Questions & Answers

Apply For The Job

Apply For Job

Java Material

Python Material

PLSQL Material

.Net Material

Java Practice Programs

400 Java Programs

Java Practice Programs

Write a Java program to print the even numbers from 1 to 20

Write a Java Program to find largest number in an array

Write a Java Program to find largest and second largest in an array

Write a Java program to compute the sum of the first 100 prime numbers

Write a Java program to add two numbers without using any arithmetic operators

Python Practice Programs

Write a python program to sort list with sorted & lambda

Write a Python Program to Check Armstrong Number?

Write a Python Program to Display the multiplication Table.

Write a Python program to display the current date and time.

Write a Python Program to check armstrong number of n digits

Java Quiz

Java Quiz - 22

Java Quiz - 7

Java Quiz - 9

Java Quiz - 21

Java Quiz - 3

Courses
Java Python PLSQL .Net ADO.Net About Us
Quick Links
Daily Use English Sentences Daily General Knowledge General Knowledge Latest Update Inventions and Inventors జనరల్ నాలెడ్జ్ General Knowledge Spoken English Spoken Hindi GK Hindi Telugu Facts Unknown Facts Psychology Facts Motivation Quotes విటమిన్ - సి,డి,ఇ,కె Android
Spiritual
రాధాకృష్ణ భగవద్గీత Motivation Quotes Slokas Talapatra Nidhi ఆధ్యాత్మిక భక్తి ప్రపంచం Sadhguru Sai Motivation Quotes గౌతమ బుద్ధుడు Bhagavad Gita Quotes
New Updates
MSK Technologies
© sateeshm, All Right Reserved. Designed By sateeshm
Home Help FQAs