Print functions
These functions are used to print data on the terminal(or command line).
SRON provides two function for this:
print()
println()
1. println():
This function is used to print data on the terminal. After printing operation is done, it shifts the cursor to a new line.
OUTPUT :
Hello, SRON! A new line is here
2. print():
This function is used to print data on the terminal same as println() but does not add a new line at the end.
OUTPUT :
Hello, SRON! A new line is here
Last updated