Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

agnos.is Forums

  1. Home
  2. Ask Lemmy
  3. Delete line 7 and 9-11.

Delete line 7 and 9-11.

Scheduled Pinned Locked Moved Ask Lemmy
4 Posts 2 Posters 0 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A This user is from outside of this forum
    A This user is from outside of this forum
    [email protected]
    wrote on last edited by [email protected]
    #1

    Delete line 7 and 9-11. Make the last line

    print(line+’+’)
    
    ? 1 Reply Last reply
    0
    • A [email protected]

      Delete line 7 and 9-11. Make the last line

      print(line+’+’)
      
      ? Offline
      ? Offline
      Guest
      wrote on last edited by
      #2

      it says:

      A SyntaxError occurs when Python cannot understand your code.

      Did you use copy-paste? Python indicates that you used the unicode character ’ which is not allowed. I suspect that you used a fancy unicode quotation mark whose name is RIGHT SINGLE QUOTATION MARK instead of a normal single or double quote for a string.

      A 1 Reply Last reply
      0
      • ? Guest

        it says:

        A SyntaxError occurs when Python cannot understand your code.

        Did you use copy-paste? Python indicates that you used the unicode character ’ which is not allowed. I suspect that you used a fancy unicode quotation mark whose name is RIGHT SINGLE QUOTATION MARK instead of a normal single or double quote for a string.

        A This user is from outside of this forum
        A This user is from outside of this forum
        [email protected]
        wrote on last edited by
        #3

        Sorry, I just used the single quote key on my iOS keyboard. But you get the idea, no?

        ? 1 Reply Last reply
        0
        • A [email protected]

          Sorry, I just used the single quote key on my iOS keyboard. But you get the idea, no?

          ? Offline
          ? Offline
          Guest
          wrote on last edited by
          #4

          yes i got it through this https://lemmy.world/post/33912344/18597185

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups