Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Lære Challenge: Find Maximum and Minimum | Automating Tasks with Python
Automating System Tasks with Python: A Beginner's Guide
Sektion 1. Kapitel 10
single

single

bookChallenge: Find Maximum and Minimum

Stryg for at vise menuen

Opgave

Swipe to start coding

Write a function that prints the maximum and minimum values from a given list of numbers.

  • Find the largest value in numbers.
  • Find the smallest value in numbers.
  • Print both the largest and smallest values.

Løsning

Switch to desktopSkift til skrivebord for at øve i den virkelige verdenFortsæt der, hvor du er, med en af nedenstående muligheder
Var alt klart?

Hvordan kan vi forbedre det?

Tak for dine kommentarer!

Sektion 1. Kapitel 10
single

single

Spørg AI

expand

Spørg AI

ChatGPT

Spørg om hvad som helst eller prøv et af de foreslåede spørgsmål for at starte vores chat

some-alt