Python Forum

Full Version: [split] new to python hello world code gives errors
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hola estoy comenzando con este programa de python llevo 2 dias tratando de colocar el primer hola mundo y todo me sale error, de verdad no entiendo y nadie lo coloca como es y hay otro que solo explican para que uno no entienda

(Mar-10-2023, 10:44 PM)giobastidas1970 Wrote: [ -> ]Hi, I'm starting with this python program. I've been trying to put the first hello world for 2 days and everything gives me an error, I really don't understand and nobody puts it as it is and there is another one that they only explain so that one doesn't understand
Indeed we need your code and the error to attempt to help, and please use the BBCode tags that will preserve the indentation.

Since hello world can be done in one line, I will stab at that either the version of python you are using or the instructional material is using Python 2, and the other is Python 3. The print statement changed between those versions. Since the current version is 3.11 recommend working in that.