Editor

Hello World

#1 · Python Basics · Beginner · 25 XP · about 2 min

Write a function called greet() that returns the string "Hello, World!".

This is the classic first program - let's start your Python journey!

Example

result = greet()
print(result)  # Output: Hello, World!

Requirements

  • The function should take no arguments
  • Return exactly "Hello, World!" (with the comma and exclamation mark)

Fastest solvers

Leaderboard

First solves only, ranked by stars and then time.