Pybites Logo Rust Platform

Hello Rustacean

Level: intro (score: 1)

Welcome to Rust! 🦀

Let’s kick things off with the classic — print a greeting!

But instead of just printing, we’ll make a proper function that returns a String. No parameters yet, just returning a hardcoded message.


✅ Your task:

Implement the greet function to return "Hello, Rustacean!" as an owned String. We'll learn about borrowing and ownership in a later Bite.

Use .to_string() or "...".into() — either is fine.


Future bites will add logic, parameters, and match statements — but first things first.