logo

Crowdly

Browser

Add to Chrome

Le code suivant  def test(): resultat="hello" print(resultat) affiche l'...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

Le code suivant 

def test():

resultat="hello"

print(resultat)

affiche l'erreur suivante :

---------------------------------------------------------------------------

NameError Traceback (most recent call last)

Cell In[39], line 3

1 def test():

2 resultat="hello"

----> 3 print(resultat)

NameError: name 'resultat' is not defined

Quelle proposition permet de corriger cette erreur ?

0%
0%
0%
More questions like this

Want instant access to all verified answers on moodle.ensea.fr?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!

Browser

Add to Chrome