If you trying to write FP in Python - you're in trouble.
(Python is my main language for several years)
It does not have "mandatory OOP" but it remains as mainly imperative OO-language with some FP-goodness. C# is the same, Java - not.
It does not have "mandatory OOP" but it remains as mainly imperative OO-language with some FP-goodness. C# is the same, Java - not.
Honestly though, this misses the point. If your language forces you to use an unsuitable paradigm, it's time to use another language if you can.