#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!
result = greet() print(result) # Output: Hello, World!
"Hello, World!" (with the comma and exclamation mark)First solves only, ranked by stars and then time.