Coding exercises to build coding skills
Base to summit
Learn coding exercises, data structures, algorithms, and design for scale.
One byte at a time.
Difficulty: Beginner
Category: Strings
Title: Hello Name
Given a variable string name, e.g. 'Bob', return a greeting in the form of 'Hello Bob!'.
Examples
- helloName('Abe') → Hello Abe!
- helloName('Amy') → Hello Amy!
- helloName('Bob') → Hello Bob!
Hints
Hide Hint
JavaJavaScriptPython
DarkLight
13px16px18px24px
ResetRedoUndoRunSubmit
9
1
2
3
4
5
›
import sys
def helloName(name):
# YOUR 4 SPACE INDENTED CODE
Test Results
Hide Results
Coding Exercises
Engage in real-world coding exercises that reinforce your understanding. Receive instant feedback and solutions to deepen your learning.
Hands-On Practice
Apply your knowledge through coding exercises and real-world projects.
Interactive Learning Paths
Structured courses covering a wide range of programming languages (Java, JavaScript, and Python). Step-by-step guidance to build a strong foundation and progress to advanced topics.
Data Structures Demystified
Explore the world of data structures through clear explanations and practical examples. Learn how to choose the right data structure for various scenarios.
Algorithms Unlocked
Dive into algorithms with hands-on challenges and projects. Master optimization techniques and algorithmic problem-solving.
Design For Scale
Understand the principles of scalable system design. Learn best practices for building robust, high-performance applications.