Silicon-i Osmium-s Indium-n Vanadium Europium-u Magnesium-g Aluminum-l Dubnium-b Europium-u Titanium-i Helium-e Indium-n Silicon-i Palladium-d Osmium-s Indium Neon-e Titanium-i Lithium-i Europium-u Silicon-i Silicon-i Titanium-i Helium-e Indium Neon-e Gallium-a Titanium-i Helium-e Aluminum-l Titanium-i Titanium-i Aluminum-l Krypton-r Europium-u Silicon-i Tungsten Osmium-s Rubidium-b Dubnium-b Silicon-i Lithium-i Osmium-s Osmium-s Krypton-r Silicon-i Iron-e Osmium-s Rubidium-b Titanium-i Helium Europium-u Palladium-d Europium-u Rubidium-b Indium-n Osmium-s Dubnium-b Indium-n Chlorine-l Silicon-i Ytterbium-b Magnesium-g Beryllium-e Osmium-s Lithium-i Silicon-i Titanium-i Helium-e Aluminum-l Titanium-i Titanium-i Helium Europium-u Ytterbium-b Chlorine-l Aluminum-l Neon-e Beryllium Europium-u Silicon-i Palladium-d Europium-u Lithium-i Lithium-i Europium-u Dubnium-b Tungsten Indium-n Titanium-i Helium-e Aluminum-l Neon-e Dubnium-b Titanium-i Helium Europium-u Neon-e Tungsten Rubidium-b Indium-n Titanium-i Europium-u Silicon-i Titanium-i Helium Europium-u Tungsten Osmium-s Rubidium-b Dubnium-b Silicon-i Uranium Silicon Indium Neon-e Gallium-a Titanium-i Helium-e Osmium Silicon-i Europium-u Europium-u Lithium-i Europium-u Magnesium-g Europium-u Neon-e Titanium-i Neon-e Aluminum-l Magnesium-g Europium-u Silicon-i
Indium-n Iron-e Titanium-i Helium Europium-u Europium-u Lithium-i Europium-u Magnesium-g Europium-u Neon-e Titanium-i Silicon-i Ytterbium-b Magnesium-g Beryllium-e Osmium-s Lithium-i Helium-e Aluminum-l Silicon-i Aluminum-l Neon-e Europium-u Xenon-e Titanium-i Rubidium-b Aluminum-l Lithium-i Europium-u Titanium-i Titanium-i Europium-u Rubidium-b Indium Neon-e Indium-n Titanium-i Indium-n Titanium-i Silicon-i Uranium Beryllium-e Titanium-i Rubidium-b Aluminum-l Chlorine-l Titanium-i Silicon-i Titanium-i Helium Europium-u Europium-u Xenon-e Titanium-i Rubidium-b Aluminum-l Lithium-i Europium-u Titanium-i Titanium-i Europium-u Rubidium-b Osmium-s Iron-e Iron-e Osmium-s Iron-e Titanium-i Helium Europium-u Europium-u Neon-e Dubnium-b Osmium-s Iron-e Titanium-i Helium Europium-u Europium-u Lithium-i Europium-u Magnesium-g Europium-u Neon-e Titanium-i Neon-e Aluminum-l Magnesium-g Europium-u
So, I've made this pointless thing that takes words, looks for the periodic symbols that they can be spelled with, and then writes the words using those element names. If the element symbol has an extra letter in it, it subtracts the extra letter off of the end of the element name.
Due to my laziness in coding it I didn't bother to move the single lettered element symbols to the top of the Array List so that it would be semi-smart enough not to write every single letter/letter group by subtracting the extra element symbol letter off the end.
Subreddit
Post Details
- Posted
- 9 years ago
- Reddit URL
- View post on reddit.com
- External URL
- reddit.com/r/Danzilona/c...