color="blue"
print(color)
blue
isRaining=False
firstName= "Anagha"
print(str(isRaining))+"is a boolean"
print(str(isRaining)+("is a string"))
False
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
Cell In[7], line 3
1 isRaining=False
2 firstName= "Anagha"
----> 3 print(str(isRaining))+"is a boolean"
4 print(str(isRaining)+("is a string"))
TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'
currentScore=10
highScore=currentScore
highScore=10
print(str(highscore))
9
num1 = 25
num2 = 15
num3 = 30
num2 = num3
classSchedule = ["AP Physics", "APEL", "APES", "AP CSP"]
print(classSchedule[1])
APEL