Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Lära Challenge: Updating List | Other Data Types in Python
Introduction to Python(ihor)

Svep för att visa menyn

book
Challenge: Updating List

Uppgift

Swipe to start coding

You are given three lists containing student names: junior_school_students, middle_school_students, and high_school_students.

  • Concatenate the first and second lists and store the result in the variable junior_middle.
  • Append the high_school_students list to the resulting list and store the result in the variable all_students.
  • You can use both list concatenation and the extend method to solve this task.

Lösning

Switch to desktopByt till skrivbordet för praktisk övningFortsätt där du är med ett av alternativen nedan
Var allt tydligt?

Hur kan vi förbättra det?

Tack för dina kommentarer!

Avsnitt 4. Kapitel 3
single

single

Fråga AI

expand

Fråga AI

ChatGPT

Fråga vad du vill eller prova någon av de föreslagna frågorna för att starta vårt samtal

close

Awesome!

Completion rate improved to 1.67

book
Challenge: Updating List

Uppgift

Swipe to start coding

You are given three lists containing student names: junior_school_students, middle_school_students, and high_school_students.

  • Concatenate the first and second lists and store the result in the variable junior_middle.
  • Append the high_school_students list to the resulting list and store the result in the variable all_students.
  • You can use both list concatenation and the extend method to solve this task.

Lösning

Switch to desktopByt till skrivbordet för praktisk övningFortsätt där du är med ett av alternativen nedan
Var allt tydligt?

Hur kan vi förbättra det?

Tack för dina kommentarer!

close

Awesome!

Completion rate improved to 1.67

Svep för att visa menyn

some-alt