Tuesday, October 4, 2016

Blog 12

Look at the code below. What is the error?

Print "Hi there!"
Print My favorite color is magenta.

16 comments:

  1. No quotation marks around My favorite color is magenta.
    -Katelyn

    ReplyDelete
  2. there is no quotations around the second print
    print "my favorite color is magneta."
    -Travis Vonheeder

    ReplyDelete
  3. there aren't quotes around the second line

    ReplyDelete
  4. You need quotations around My favorite color is magenta.
    Alex Haston.

    ReplyDelete
  5. Chris VanYe
    the second line of print code won't print since the My favorite color is magenta isn't in quotes

    ReplyDelete
  6. My favorite color is magenta needs to be in quotations.
    Ben Lacey

    ReplyDelete
  7. There are no quotations around My favorite color is magenta.

    Josh Lee

    ReplyDelete
  8. The error is that the second print statement doesn't have quotations. You have to use quotations if you're going to use the "string" datatype.

    - Abby Peterson

    ReplyDelete
  9. print "Hi there"
    print "My favorite color is magenta."
    * the "P" shouldn't" be capitalized
    *there should be "on booth sides of My favorite color is magenta.
    - Owen Luther

    ReplyDelete
  10. here is no quotations, should be
    "my favorite color is magenta"
    - Lux lei

    ReplyDelete
  11. it should be print"My favorite color is magenta."
    Charlie Lin

    ReplyDelete
  12. Print("Hi there"),there aren't quotes around the second line
    -Gary Gao

    ReplyDelete
  13. Needs quotation marks around the second line
    -Sean

    ReplyDelete
  14. no parenthesis on the second print command.

    ReplyDelete
  15. there needs to be quotation marks around My favorite color is magenta.
    -Joe Haj

    ReplyDelete