---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
/home/ethanh/vscode/EthanH2/_notebooks/2023-10-04-Data-Abstraction.IPYNB Cell 2 line 4
<a href='vscode-notebook-cell://wsl%2Bubuntu/home/ethanh/vscode/EthanH2/_notebooks/2023-10-04-Data-Abstraction.IPYNB#W1sdnNjb2RlLXJlbW90ZQ%3D%3D?line=1'>2</a> isRaining = False
<a href='vscode-notebook-cell://wsl%2Bubuntu/home/ethanh/vscode/EthanH2/_notebooks/2023-10-04-Data-Abstraction.IPYNB#W1sdnNjb2RlLXJlbW90ZQ%3D%3D?line=2'>3</a> firstName = "Ethan"
----> <a href='vscode-notebook-cell://wsl%2Bubuntu/home/ethanh/vscode/EthanH2/_notebooks/2023-10-04-Data-Abstraction.IPYNB#W1sdnNjb2RlLXJlbW90ZQ%3D%3D?line=3'>4</a> print(str[Highscore] + " is an integer ")
<a href='vscode-notebook-cell://wsl%2Bubuntu/home/ethanh/vscode/EthanH2/_notebooks/2023-10-04-Data-Abstraction.IPYNB#W1sdnNjb2RlLXJlbW90ZQ%3D%3D?line=4'>5</a> print(str[isRaining] + " is a bolean ")
<a href='vscode-notebook-cell://wsl%2Bubuntu/home/ethanh/vscode/EthanH2/_notebooks/2023-10-04-Data-Abstraction.IPYNB#W1sdnNjb2RlLXJlbW90ZQ%3D%3D?line=5'>6</a> print(firstName + " is a string ")
TypeError: type 'str' is not subscriptable
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
/home/ethanh/vscode/EthanH2/_notebooks/2023-10-04-Data-Abstraction.ipynb Cell 3 line 4
<a href='vscode-notebook-cell://wsl%2Bubuntu/home/ethanh/vscode/EthanH2/_notebooks/2023-10-04-Data-Abstraction.ipynb#W2sdnNjb2RlLXJlbW90ZQ%3D%3D?line=1'>2</a> highScore = currentScore
<a href='vscode-notebook-cell://wsl%2Bubuntu/home/ethanh/vscode/EthanH2/_notebooks/2023-10-04-Data-Abstraction.ipynb#W2sdnNjb2RlLXJlbW90ZQ%3D%3D?line=2'>3</a> highScore = 17
----> <a href='vscode-notebook-cell://wsl%2Bubuntu/home/ethanh/vscode/EthanH2/_notebooks/2023-10-04-Data-Abstraction.ipynb#W2sdnNjb2RlLXJlbW90ZQ%3D%3D?line=3'>4</a> print(str[highScore])
TypeError: type 'str' is not subscriptable
Matthew, Josh, Lindsey, Ethan
---------------------------------------------------------------------------
IndexError Traceback (most recent call last)
/home/ethanh/vscode/EthanH2/_notebooks/2023-10-04-Data-Abstraction.ipynb Cell 4 line 3
<a href='vscode-notebook-cell://wsl%2Bubuntu/home/ethanh/vscode/EthanH2/_notebooks/2023-10-04-Data-Abstraction.ipynb#W3sdnNjb2RlLXJlbW90ZQ%3D%3D?line=0'>1</a> groupNames = ["Matthew, Josh, Lindsey, Ethan"]
<a href='vscode-notebook-cell://wsl%2Bubuntu/home/ethanh/vscode/EthanH2/_notebooks/2023-10-04-Data-Abstraction.ipynb#W3sdnNjb2RlLXJlbW90ZQ%3D%3D?line=1'>2</a> print (groupNames [0])
----> <a href='vscode-notebook-cell://wsl%2Bubuntu/home/ethanh/vscode/EthanH2/_notebooks/2023-10-04-Data-Abstraction.ipynb#W3sdnNjb2RlLXJlbW90ZQ%3D%3D?line=2'>3</a> print (groupNames [1])
<a href='vscode-notebook-cell://wsl%2Bubuntu/home/ethanh/vscode/EthanH2/_notebooks/2023-10-04-Data-Abstraction.ipynb#W3sdnNjb2RlLXJlbW90ZQ%3D%3D?line=3'>4</a> print (groupNames [2])
<a href='vscode-notebook-cell://wsl%2Bubuntu/home/ethanh/vscode/EthanH2/_notebooks/2023-10-04-Data-Abstraction.ipynb#W3sdnNjb2RlLXJlbW90ZQ%3D%3D?line=4'>5</a> print (groupNames [3])
IndexError: list index out of range