Challenges
Parent

+2
−1

Background

While we do have a "Hello, World!" challenge, we still don't have one regarding input. So let's do one!

Challenge

Create a program that takes an input (not as a function argument) then outputs Hello, , the variable and ! altogether. Standard I/O only applies. Shortest submission per language wins!

Why does this post require moderator attention?
Why should this post be closed?

Post
+0
−0

Lua, 35 32 bytes

print("Hello, "..io.read().."!")


Try it online!

Golfed 3 bytes thanks to @Moshi's advice.

Why does this post require moderator attention?

Inline (1 comment)

You can easily remove a few bytes by just using print("Hello, "..io.read().."!")