Why does mathoverflow encourage only "research-level" questions while stack overflow encourages "all-level" questions?

I understand that the two communities seem to have different mentalities towards the sophistication level of questions and I am trying to understand why.

I have read and understand that the guidelines for asking math questions And found the accepted answer on what "research-level" means

It seems weird to me that someone cannot ask something trivial like "how I multiply two numbers together?" on `mathoverflow`

.

On `stackoverflow`

someone can/did ask "How do I make a for loop in python?" ( equally as trivial as multiplying two numbers together )
https://stackoverflow.com/questions/10440493/python-for-loops-novice

Why is the stackexchange `mathematics`

community against simple/googleable questions, while the stackexchange `software`

community is not?

Overflowis the StackExchangesite for programming. (Tangentially, MSE is typically used, by most everybody in the network but some math-sites users, to refer to Meta Stack Exchange and not the Mathematics Stack Exchange.) $\endgroup$