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

Flashcards

Computing homework

Cameron Morton English 5 cards

Cards in this deck (5)

  1. 1Ham, eggs, applesShoppingList = (“ham”, “eggs”, “apples”)
    Print (shoppingList[0])
  2. 2Ham, eggs, apples, cheeseShoppingList = (“ham”, “eggs”, “apples”)
    ShoppingList.append(“cheese”)
    Print(ShoppingList[3])
  3. 3Ham, eggsShoppingList(“ham”, “eggs”, “apples”)
    ShoppingList.remove(“apples”)
    Print(ShoppingList[1])
  4. 4The position of an element in an array is the [0] or [1] or [2] in the bottom lineShoppingList = (“ham”, “eggs”, “apples”)
    Print (shoppingList[0])
  5. 5It imports a random choice. Either ham eggs or apples.Import random
    ShoppingList = (“ham”, “eggs”, “apples”)
    Print(ShoppingList)

Information

Description
Flashcards on Computing homework , created by Cameron Morton on 24/11/2020.
Created by
Cameron Morton
Views
0
Rating

Feedback

What is it about?

What do you think of the new look?

How do you like it?