0% found this document useful (0 votes)
11 views1 page

Python 1 to 2 Changes Explained

The document outlines changes from Python 1 to Python 2, noting that the print statement changed from print "hello world" to print("hello world") and that the raw_input function became input('What is your name?').

Uploaded by

fhuairac
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
11 views1 page

Python 1 to 2 Changes Explained

The document outlines changes from Python 1 to Python 2, noting that the print statement changed from print "hello world" to print("hello world") and that the raw_input function became input('What is your name?').

Uploaded by

fhuairac
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

Cambios de Python 1 a Python 2

 print "hello world" print("hello world")


 raw input('What is your name?') input('What is your name?')

 rint "hello world" print("hello world")


 raw input('What is your name?') input('What is your name?')

Cambios de Python 1 a Python 2

 print "hello world" print("hello world")


 your name?') input('What is your name?')

You might also like