How to do the symbol "|" on keyboard

Hello currently taking the web scraping course and I need to type “|” in the code but I can’t figure out how to get it with my keyboard (my example was copy-pasted). haven’t found an answer by googling it so I hope that someone could let me know! It’s not an ii cap because it’s longer. I can see the symbol on the left of the number 1 on the keyboard and another time on the key right below backspace but I haven’t been able to type it.
|||||||||||||||||||||||||||||||
| | |

On a mac, shift and the backslash button (the button on the far right beneath the delete button).

1 Like