I once stumbled upon this StackOverflow page, when I was learning JavaScript. It taught me how to make a function that can be called by writing something like 35.myFunction(parameter)
Now, I've added Python to my cache of languages, and can't figure out how to accomplish the same thing in python.
To be more precise: I would like to make a python function that can be called with a value and a dot before it.
For example: "Hello World?".replace("?", "!")
If someone could tell me how to make such a function, and give an example, I would greatly appreciate it.