periodic icon indicating copy to clipboard operation
periodic copied to clipboard

Mercury not recognized

Open AlanReviews opened this issue 4 years ago • 0 comments

I am trying to extract the mercury element's attributes.

Here is a sample of my code when I am trying to extract the mercury element:

import periodic
from periodic import element
someElement = element('Mercury')
print(someElement.symbol)

I got this error: Traceback (most recent call last): File "c:\Users\Alan\Documents\VSCodeWorkspace\testing\periodic-testing.py", line 4, in print(someElement.symbol) AttributeError: 'NoneType' object has no attribute 'symbol

AlanReviews avatar Nov 13 '20 16:11 AlanReviews