Difference between revisions of "HelloWorld"
From CompSciWiki
m |
|||
Line 6: | Line 6: | ||
==Program: == | ==Program: == | ||
+ | |Solution=The solution to our Hello World program | ||
{{CodeBlock | {{CodeBlock | ||
|Code= | |Code= |
Revision as of 19:26, 3 April 2012
COMP 1010 Home > Back to Extra Labs
IntroductionIn the process of getting started, we will write our first program in Python. The first program you wrote in Java was “Hello world” which contained at least 3 lines of Java code. In python programming language, the Hello world program is written in just one line of code. Also, Python programming language uses the file extension .py as compared to Java that uses the file extension .java. Show below is our Hello world program. |
Contents |
---|