In programming, it is a tradition to write “Hello World!” in your first program. This was influenced by the 1978 book “The C Programming Language”, in which an example program prints “hello, world” for the first time. Since then, it has also become a popular way of illustrating the basic syntax of a (new) programming language.
Your first Python program will carry on this tradition. Write a simple script called `helloworld.py`, which should print the exact string “Hello World!” to the screen using Python’s `print` function.
-!- CODE language-bash -!-$ python3 helloworld.py
Hello World!
CodeGrade is your virtual teaching assistant for your coding classroom. You teach, CodeGrade takes care of the rest.
With our 40+ built-in fully automatically graded Introduction to Python assignments for university-level courses, you can start teaching Python at your institution with confidence now. Or, scale your classroom with CodeGrade's tools.
Book a personal 30-minute demo now and we'll show you how to get started with CodeGrade in less than 1 hour!