Rosetta Code - 100 doors

Tell us what’s happening:
Describe your issue in detail here.
i want to learn coding,i wish i knew how to…i would have solved the Rosetta code

 **Your code so far**
getFinalOpenedDoors(numDoors = 100);

FinalOpenedDoors = (10);
(100 = )

 **Your browser information:**

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.5112.102 Safari/537.36 Edg/104.0.1293.63

Challenge: Rosetta Code - 100 doors

Link to the challenge:

if you want to learn to code, start from the top of the curriculum, not from the interview coding prep