Explore Connect Documentation
Snippets
1
2
3
4
5
6
7
8
9
10
11
class Element:
  '''Represents an element in the periodic table.'''
  pass
na = Element()
na.atomic_number = 11
na.name = 'Sodium'
print(f'Atomic Number: {na.atomic_number}; Name: {na.name}')
Press desired key combination and then press ENTER.