Embark
About Lesson
XP
Bolt
Strike

Programming Cycle

What is Python ?

Downloading & Installing Python

IDLE & the Python Shell

Writing your first program in Python

C

				
					#include <stdio.h>
int main(void)
{
    printf("Hello World!\n");
    return 0;
}
				
			

C++

				
					#include "std_lib_facilities.h"
int main()
{
    cout << "Hello World!\n";
    return 0;
}
				
			

JAVA

				
					public class HelloWorld {
	public static void main(String[] args) {
	System.out.println("Hello World!");
}
}
				
			

Python

				
					print('Hello World!')

				
			

Creating a Python file

				
					print('I am now entering Python code into a Python file.')
print('When I press Return or Enter here, I move to next line.')
print('This is the last line.')
				
			

Saving a Python file

Running a Python file

				
					I am now entering Python code into a Python file.
When I press Return or Enter here, I move to next line.
This is the last line.
				
			

Quit IDLE

Opening a previously saved Python file

0% Complete
Scroll to Top