Employers
Jobseekers
Recruiting Partners
Login
Join Hyring
Join Hyring
Lesson
Introduction
Get Started
Syntax
Output
Comments
Variables
Data Types
Type Casting
Operators
Strings
Arrays
Ranges
If...Else
Switch
While Loop
For Loop
Collections
Functions
Optionals
Enums & Pattern Matching
Closures
Tuples & Type Aliases
OOP
Inheritance
Polymorphism
Protocols
Generics
Extensions
Access Control
Error Handling
Concurrency
Back to lesson
Swift Output
Basic print()
Custom Separator and Terminator
String Interpolation Examples
Run
Language:
Swift
Change Theme
Change orientation
print("Hello, Swift learners!") print(42) print(3.14)
print("Hello, Swift learners!") print(42) print(3.14)
Output
Click Run to execute this code.