Creative Ways Sitcom Writers utilised or "got around" censorships?

edit: while I’m loving all these responses, the 20 people who wrote “not a sitcom, but Battlestar Galactica used frack” really need to……..become best friends.

Inspired by a post in the Friends sub, personally this is one of my favourite sitcom writing tropes that will never get old (but I feel like censorship rules are more lax these days so we don't get these fun little additions as much anymore).

For example:
How I Met Your Mother - "sandwiches" being a running jokes as the substitute for smoking weed/getting high. Also the episode with "Grinch" being used instead of c**t.

Friends - when Chandler's playing Miss PacMan and changes all the names to dirty words, Monica says "that one's not dirty", and Chandler responds "it is when you combine it with the one below" (I'm assuming it was BLO and JOB). Also "the thing we hardly ever do or the thing we never do?" and the hitting your fists together as an alternative for giving the finger.

Big Bang Theory - Bernadette (falsely) implies Penny called Leonard a p***y and throughout the episode it's "Sheldon, cover your ears!" or "a word I can't even say in front of Sheldon!" and Sheldon goes "I'm not a child...I know the word 'ninny'"

What are ones from other sitcoms?