I observed that there were no daily challenge on community for a while. So here it is.
If you were/are a science student you might know about Electronic Configuration
(Electron configuration - Wikipedia).
Create a program that inputs the atomic number and gives the electronic configuration for that atomic number. You may consider adding logic for Afbau Principle . It will make it a lot more challenging.
you can keep formats as: 1s(2) 2s(2) 2p(6) …
Do you know. You have created a daily challenge at evening
Earth is not flat my dear. xD
Tough One! Good Challenge.
this is getting #off-topic
You are asking for spdf solution but what for those who have only read 2n^2 till yet
This post was flagged by the community and is temporarily hidden.
Hello, your daily challenge should belongs to 89. I changed it.
I think you Forget about the Assumptions in Chemistry they say Only 8 elections can Be added to one electronic and been added to 1 Octave but in some case there are more than eight electrons in 1 Octave.
Maybe adding List For All of this element’s will be Headache. I will recommend to go with api if any.
Please elaborate. ( I am asking for spdf solution)
Well I have already created a program for it on python without any api or modules