Check out example codes for "print". It will help you in understanding the concepts better.

Code Example 1

print('Hello world') # This would print 'Hello world' as an output to the user.

Code Example 2

print('hi')

Code Example 3

print("Hello World") # prints hello world to the screen (python)

Code Example 4

// This is a print statement in Java
System.out.println("Hello, world!")

Code Example 5

# This is a print statement in Python
print("Hello, world!")

Code Example 6

console.log("What you want in here");

Learn ReactJs, React Native from akashmittal.com