Struggling to find a way to make this link work in python

Question:

Repl link:

      print("<a href="https://www.slc.gov/transportation/transit">https://www.slc.gov/transportation/transit</a>")

Hi @OrionChampneys, welcome to the community!

That link is written in HTML, a markup language. You cannot use HTML in the console. To make a link work, just put the URL and don’t try using a Hyperlink:

print("https://www.slc.gov/transportation/transit")
4 Likes

hm ill tell you if it works thanks for the help

it worked I knew using different language wouldn’t work I searched it on google to try to solve it that way and google said to use html but your solution helped thanks

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.