Computers

1st -

4thgrade

Image

Python-2

1
play

5 questions

Show Answers
See Preview
  • 1. Multiple Choice
    10 seconds
    1 pt

    x=4

    y=5

    z=x+x

    what is the output ?

    20

    10

    8

    9

  • 2. Multiple Choice
    30 seconds
    1 pt

    myname="ahmed"

    lastname="mohammed"

    name=myname+lastname

    print(name)

    what is the output?

    ahmed mohammed

    ahmedmohammed

    error

  • 3. Multiple Choice
    30 seconds
    1 pt

    car-color="light,red"

    print(car-color.split(",")

    what is the output?

    [light , red]

    lightred

    light red

    error

  • Answer choices
    Tags
    Answer choices
    Tags

    Explore all questions with a free account

    Already have an account?