Tuesday, December 13, 2022

[FIXED] What do the three arrow (">>>") signs mean?

Issue

I haven't been able to figure out what the >>> does, even though I often see it often in source code.


Solution

You won't see it in source code, it's probably documentation. It indicates an interactive session, and things typed into the 'interpreter' are marked with this. Output is shown without the arrows.

In fact, the python documentation often has a button >>>at the top right of example code to be able to hide the arrows (and output) so that you can copy and paste the code.

Shown:
shown
Hidden:
hidden



Answered By - askewchan
Answer Checked By - Senaida (PHPFixing Volunteer)

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.