Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Lernen Challenge: Ordinal Adjectives | Python if-elif-else Statement
Conditional Statements in Python Clone

Swipe um das Menü anzuzeigen

book
Challenge: Ordinal Adjectives

Aufgabe

Swipe to start coding

You need to create a program that generates ordinal adjectives for each number from the following list: [1, 2, 3, 4, 5, 6, 7, 8, 9]. Your program should produce the following output:

python

It's essential to observe the pattern of this scheme and determine the correct endings for each number. Utilize if-elif-else statements within a for-loop to accomplish this task.

Lösung

Switch to desktopWechseln Sie zum Desktop, um in der realen Welt zu übenFahren Sie dort fort, wo Sie sind, indem Sie eine der folgenden Optionen verwenden
War alles klar?

Wie können wir es verbessern?

Danke für Ihr Feedback!

Abschnitt 3. Kapitel 3
Wir sind enttäuscht, dass etwas schief gelaufen ist. Was ist passiert?

Fragen Sie AI

expand
ChatGPT

Fragen Sie alles oder probieren Sie eine der vorgeschlagenen Fragen, um unser Gespräch zu beginnen

book
Challenge: Ordinal Adjectives

Aufgabe

Swipe to start coding

You need to create a program that generates ordinal adjectives for each number from the following list: [1, 2, 3, 4, 5, 6, 7, 8, 9]. Your program should produce the following output:

python

It's essential to observe the pattern of this scheme and determine the correct endings for each number. Utilize if-elif-else statements within a for-loop to accomplish this task.

Lösung

Switch to desktopWechseln Sie zum Desktop, um in der realen Welt zu übenFahren Sie dort fort, wo Sie sind, indem Sie eine der folgenden Optionen verwenden
War alles klar?

Wie können wir es verbessern?

Danke für Ihr Feedback!

Abschnitt 3. Kapitel 3
Switch to desktopWechseln Sie zum Desktop, um in der realen Welt zu übenFahren Sie dort fort, wo Sie sind, indem Sie eine der folgenden Optionen verwenden
Wir sind enttäuscht, dass etwas schief gelaufen ist. Was ist passiert?
some-alt