Trusted answers to developer questions
Trusted Answers to Developer Questions

Related Tags

elixir
print

How to print in Elixir

Aaron Xie

Elixir is a concurrent, functional programming language designed to maintain and scale applications. Today, you will learn how to print to the console in Elixir.

When you are working on a project, printing to the console is the simplest way to debug a problem in your source code. Like any other programming language, printing is an easy task in Elixir.

With Elixir, you have to use the IO module, which is an Elixir device that handles inputs and outputs. With the IO.puts function, you can print to the console.

IO.puts "Hello World"
IO.puts "Hello World"

Want to learn more about Elixir? Check out our, “What are the basic operators in Elixir?”!

RELATED TAGS

elixir
print

CONTRIBUTOR

Aaron Xie
Copyright ©2022 Educative, Inc. All rights reserved
RELATED COURSES

View all Courses

Keep Exploring