No products in the cart.

Write a python program to print …

CBSE, JEE, NEET, CUET

CBSE, JEE, NEET, CUET

Question Bank, Mock Tests, Exam Papers

NCERT Solutions, Sample Papers, Notes, Videos

Write a python program to print largest among three numbers
  • 2 answers

Aditya Vishwakarma 4 years, 11 months ago

Firstly write program and use max('name the string where you store the numbers) Like max(a)

Abhijit Mandal 5 years ago

The best code is here:: #source code is created by Abhijit Mandal. #coding starts!!! a=[ ] n=int(input("ENTER THE TOTAL NUMBER OF ELEMENTS HERE:- ")) for i in range(1,n+1): b=int(input("ENTER THE ELEMENT HERE:- ")) a.append(b) a.sort() print("THE LARGEST NUMBER IS:- ",a[-1])
http://mycbseguide.com/examin8/

Related Questions

Write a program for swapping two numbers
  • 1 answers
Define packages
  • 0 answers
What is alu
  • 1 answers
Write a program for swapping two numbers?
  • 0 answers

myCBSEguide App

myCBSEguide

Trusted by 1 Crore+ Students

Test Generator

Test Generator

Create papers online. It's FREE.

CUET Mock Tests

CUET Mock Tests

75,000+ questions to practice only on myCBSEguide app

Download myCBSEguide App