Build a Report Card Printer - Step 9

Tell us what’s happening:

print(isinstance(score, float), score, type(score))
is this code correct for step 9 in python lesson?

Your code so far

name = 'Alice'
print(name, type(name))

is_student = True
print(is_student, type(is_student))

age = 20
print(age, type(age))


# User Editable Region

score = 80.5
print(isinstance(score, float), score, type(score))




# User Editable Region


Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36 Edg/144.0.0.0

Challenge Information:

Build a Report Card Printer - Step 9

Welcome to the forum @amoreno0491

Finally, print score and its data type to complete the report card.

Try printing in a new call.

Happy coding

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.