Python syntax


#1



https://www.codecademy.com/courses/introduction-to-python-6WeG3/4/1?curriculum_id=4f89dab3d788890003000096#

Traceback (most recent call last):
File "python", line 2, in
NameError: name 'true' is not defined


`python

Replace this line with your code.

monty = true
python = 1.232
monty_python = python ** 2


#2

in python the boolean value (True) is written with uppercase first letter


#3

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