Printing "Hello World!" in Python!

Now that you know how to add numbers, let us look at printing "Hello World!" in Python.

This exercise is part of the course

Introduction to Python & Machine Learning (with Analytics Vidhya Hackathons)

View Course

Exercise instructions

  • Print "Hello World!" on the console

Hands-on interactive exercise

Have a go at this exercise by completing this sample code.

# Print a message
print("Welcome to the joint course from Analytics Vidhya and DataCamp")

# Now write code to print "Hello World!"