What are you not understanding? what issue are you having with your code?
In your title you talk about putting radio buttons on top of each other, but I guess that’s not everything, so please explain more what’s going on here
It’s ok just take it slowly and think about what you’re asking the dumb computer to do.
I would just straighten out your indents, read through the code character by character, and don’t feel like you’re wasting time like this when everyone else is flying ahead (a) you’re not, even senior devs check funky code line by line, it’s not you, programming is super precise (b) they’re not, everyone goes at their own pace and we’re all very likely to get there at the right time anyway (c) this is the essence of learning, you CAN go from not understanding to a new world where you really do understand!
Have a breath, a cup of tea or coffee, be a little bit easier on yourself and proud that you have the guts to look like a fool in front of everyone (You don’t at all, really, we all struggle at things, lots and lots of things)