element = {'H': 1, 'N': 6, 'F': 7, 'Cl': 7}
i = input("Enter: ")
dots = '*'
totalDots = (dots * i)
Enter: H
Traceback (most recent call last):
File "D:/Python26/lewisdot.py", line 4, in <module>
i = input("Enter: ")
File "<string>", line 1, in <module>
NameError: name 'H' is not defined
How come?
Thanks