Build a Report Card Printer - Step 9

Tell us what’s happening:

voici l’instructio

Le résultat est False, ce qui montre que scoren’est pas un int.

Un autre type de nombre courant en Python est `int` float, qui représente un nombre décimal. Remplacez ` intint` par `int` floatdans l’appel existant isinstance()pour le confirmer.

Enfin, imprimez scorele bulletin et indiquez le type de données pour le compléter.

bonjour j’ai une erreur syntaxe qui revient
score = 80.5
print(isinstance(type,score, float))

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(type,score, float))

# 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

Challenge Information:

Build a Report Card Printer - Step 9

Hi there. I recommend resetting the challenge.

Then first change int to float.

Then on the following line, print the value of score and it’s data type separated by a comma.