The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

This topic is READ ONLY
AllSmiles (2) [Avatar] Offline
#1
I keep getting a syntax error when I try to run this program. I have underlined where the program is telling me I have a problem.

length = float (raw_input ('What is the length of the room in feet?'))
width = float (raw_input ('What is the width of the room in feet?'))
CarpetNeeded = float (length * width)
Print 'Amount of Carpet Needed: ', CarpetNeeded, 'square feet'

I have had problems with the end quotes on other programs as well. What am I doing wrong? Thanks!
AllSmiles (2) [Avatar] Offline
#2
Re: Chapter 5 - Try it Out
I figured out my own mistake. I needed a lower case p in print. Thanks!
carter.sande (32) [Avatar] Offline
#3
Re: Chapter 5 - Try it Out
I'm glad you're enjoying our book! Good job on figuring out the bug in your program.

Carter