Python 1.1

Hello World

  • Fully automatically graded on code quality, style, structure and functionality
  • Students write their solution in an online IDE in their LMS
  • Check for Python code plagiarism

Pre-requisites:

  • Have Python installed (or work directly in CodeGrade!).

Learning goals:

  • Get familiar with the Python ecosystem.
  • Create your first Python script.
  • Learn about the Print statement.
Get access to an autograder, plagiarism checker and online IDE for this assignment now!

Task:

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.

Example usage:

-!- CODE language-bash -!-$ python3 helloworld.py
Hello World!

Learn more:

Start teaching Python now

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!

Book a demo now!

Happy educators

  • Educators who use CodeGrade have less stress.
  • Educators who use CodeGrade have happier and more successful students.
  • Educators who use CodeGrade have a simpler teaching workflow.

Schedule a personalized tour of CodeGrade today.