meddyliol
Posts: 118
Joined: Thu Mar 20, 2014 8:28 am
Location: South Wales

Name Error

Thu Mar 27, 2014 5:44 pm

I have just put the following into Idle 3: Print("Hello World") saved it then did Run Module. The following error keeps coming back: Name error: Name "Print" is not defined. What am I doing wrong?
Raspberry Pi B, Raspberry Pi 2, monitor, powered hub, mouse, keyboard and Volvo V50 car

User avatar
croston
Posts: 707
Joined: Sat Nov 26, 2011 12:33 pm
Location: Blackpool
Contact: Website

Re: Name Error

Thu Mar 27, 2014 5:52 pm

Python is the case sensitive. 'Print' should have a lower case 'p'.

meddyliol
Posts: 118
Joined: Thu Mar 20, 2014 8:28 am
Location: South Wales

Re: Name Error

Thu Mar 27, 2014 6:43 pm

Thanks for that. It now works (what a surprise). :)
Raspberry Pi B, Raspberry Pi 2, monitor, powered hub, mouse, keyboard and Volvo V50 car

Return to “Beginners”