Your issue is primarily with this code:
if your_choice == computer_choice:
print("you tied!")
In the code you submitted, your_choice is a string because keyboard inputs are always strings. However, computer_choice is an integer. So, if you choose 2 and the computer chooses 2, Python will attempt to compare "2" to 2, which will return False, because the values have incompatible types.
To fix this, simply cast the input value to an integer:
your_choice = int(input("1, 2 or 3?\n").trim())
Note that I also trimmed your input to remove whitespace before casting it.
I assume that you're using the print when creating computer_choice for debugging purposes, but putting it in the assignment will result in it having a value of None. If you want to debug something using print, put the print on a separate line, like this:
computer_choice = random.randint(1, 3)
print(computer_choice)