Python 13 of 13 - Bringing it all together lesson


#1

I don’t see a problem with this code and I cannot progress to the next slide. Suggestions welcome.

#lol single line command
monty = True
python = 1.234
montypython = python ** 2
print montypython


#2

Is there a problem? What happens? Are there error messages? If so, they probably contain the information of what’s wrong

And, when you post code, take special care that it shows up correctly in your post so that you’re not sharing something different from what you’re actually using (defeats the purpose) – use the button in the post editor to mark the code as pre-formatted text


#3

you have to use monty_python not montypython.
also maybe you have to delete print montypython


#4

Thanks for responding. That worked!


#5

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