GoConqr has a new look! Let us know what you think.

Flashcards

Array HW

Salman Bokhari Computing Year 8 English 6 cards

Cards in this deck (6)

  1. 1Arraysubjects = ["maths", "computing"]
  2. 2add an elementsubjects.append("PE")
  3. 3remove an elementsubjects.remove("maths")
  4. 4search for elementsubjects.index("computing")
  5. 5find position of an elementposition = subjects.index("computing")
    print(position)
  6. 6choose element at randomimport random
    subject = random.choice(subjects)
    print(subject)

Information

Description
Year 8 Computing Flashcards on Array HW, created by Salman Bokhari on 24/11/2020.
Created by
Salman Bokhari
Views
0
Rating

More on Arrays and Data Structures

Feedback

What is it about?

What do you think of the new look?

How do you like it?