If the output is meant for a terminal, it is also possible to change the terminal setting by inserting an ANSI escape code.
So you basically surround the text you want to change with the escape sequence for the strikethrough ("\033[9m") or any text style that is covered by the escape sequences. The "0m" code at the end is to reset the terminal style:
text_strike = "strikethrough"
text_nostrike = "no strikethrough"
print(f"{text_nostrike} \033[9m{text_strike}\033[0m {text_nostrike}")
List of escape codes: https://gist.github.com/ConnerWill/d4b6c776b509add763e17f9f113fd25b
I got the idea from the answer to this question where it is used to change color: How to show diff of two string sequences in colors?