name = "Sam" age = 30 # This raises a TypeError: # print("Age: " + age) # You would have to convert first: print("Age: " + str(age))
Click Run to execute this code.