Search Header Logo

Python tablice jednowymiarowe

Authored by KP KP

Computers

9th Grade

Used 6+ times

Python tablice jednowymiarowe
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

21 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Jaką metodę należy użyć, aby dodać element na koniec listy w Pythonie?

add()

extend()

append()

insert()

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Która metoda w Pythonie usuwa pierwsze wystąpienie danego elementu z listy?

delete()

remove()

pop()

discard()

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Jak odwołać się do ostatniego elementu listy w Pythonie?

x[-1]

x[0]

x[last]

x[end]

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Jak odwołać się do pierwszego elementu listy w Pythonie?

x[-1]

x[0]

x[last]

x[end]

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Która metoda w Pythonie odwraca kolejność elementów w liście?

invert()

flip()

sort()

reverse()

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Jakie jest wyjście po wykonaniu operacji x = [1, 2, 3]; x = x * 5 w Pythonie?

[1, 2, 3, 1, 2, 3, 1, 2, 3, 1, 2, 3, 1, 2, 3]

[1, 2, 3, 1, 2, 3, 1, 2, 3]

[1, 2, 3, 1, 2, 3, 1, 2, 3, 1, 2, 3]

[1, 2, 3, 1, 2, 3, 1, 2, 3]

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Która metoda w Pythonie dodaje elementy innej listy na koniec listy?

concat()

append()

extend()

add()

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?