Last answered:

07 Jul 2023

Posted on:

06 Jul 2023

0

Question 3 not running from my end

Please, I need help. Why this this code not running from my end?

2 answers ( 0 marked as helpful)
Instructor
Posted on:

07 Jul 2023

0

Hey Ferdinand,


Thank you for reaching out!


In Python, lists are created by separating each element in the list by a comma. Therefore, in the definition of your companies variable, you need to substitute the and keyword by a comma.


Note that and is a keyword in Python. This means it has a specific function in the language. You can learn more about it and the other logical operators in the "Logical operators" lecture in Section 5. Conditionals.


Kind regards,

365 Hristina

Posted on:

07 Jul 2023

0

Thank you very much. The program ran very well after correcting that. 

Submit an answer