Course Content
Conditional Statements in Python
Conditional Statements in Python
Challenge: Ordinal Adjectives
Task
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:
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.
Thanks for your feedback!
Challenge: Ordinal Adjectives
Task
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:
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.
Thanks for your feedback!
Challenge: Ordinal Adjectives
Task
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:
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.
Thanks for your feedback!
Task
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:
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.