How to find greatest of 3 numbers in Python?

  Рет қаралды 16,633

Computer Science

Computer Science

Жыл бұрын

Пікірлер: 5
@AwesomeMewtwo
@AwesomeMewtwo 7 ай бұрын
Thank You Sir/Ma'am 😊
@Peaceytq
@Peaceytq Жыл бұрын
What about both maximum and minimum?
@csmicrolearning
@csmicrolearning Жыл бұрын
logic: Assume element at 0th index of list as max then go on comparing with other elements of list using loop if any element >max assign that value to max finally print max list=[10,20,30] max=list[0] for i in list: if i>max: max=i print(max,'is maximum') and for minimum just change code statement i
@satyam2242
@satyam2242 Жыл бұрын
bro I need help
@csmicrolearning
@csmicrolearning Жыл бұрын
Is there any doubt
ИРИНА КАЙРАТОВНА - АЙДАХАР (БЕКА) [MV]
02:51
ГОСТ ENTERTAINMENT
Рет қаралды 14 МЛН
когда повзрослела // EVA mash
00:40
EVA mash
Рет қаралды 4,2 МЛН
How to Check if a Number is Even or Odd in Python
1:53
nevsky.programming
Рет қаралды 81 М.
How To Use Functions In Python (Python Tutorial #3)
14:55
CS Dojo
Рет қаралды 2,3 МЛН
python 45 days series| Day-1 |Introduction to python
8:28
jocker's coding
Рет қаралды 3,8 М.
Solve any Star Pattern program in Python
18:44
Simply Coding
Рет қаралды 871 М.
Insertion Sort In Python Explained (With Example And Code)
7:54
FelixTechTips
Рет қаралды 166 М.
11.Simple C Program to Find Largest Number among Three Numbers
6:17
Learn Programming Yourself
Рет қаралды 147 М.
11 Tips And Tricks To Write Better Python Code
11:00
Patrick Loeber
Рет қаралды 604 М.
Dictionary in Python
12:24
Telusko
Рет қаралды 1,3 МЛН
ИРИНА КАЙРАТОВНА - АЙДАХАР (БЕКА) [MV]
02:51
ГОСТ ENTERTAINMENT
Рет қаралды 14 МЛН