\n is used for ______ .
Answers
Answered by
0
Answer:
To add a new line in your program.
Explanation:
print("Hello world\n Hello friends")
The output of this program will be:
Hello world
Hello worldHello friends
If I have written it in this way then the output will be:
print("Hello world Hello friends")
Output:
Hello world Hello friends
Similar questions