Computer Science, asked by sumanskkumari2, 3 days ago


9. Which of the following is an escape sequence for a tab character ?
(a) \a (b) \t (c) \n
(d) \b
10. Which of the following is an escape sequence for a newline character ?
(a) \a (B) \t (c) \n (d) \b​

Answers

Answered by anjusiyaram
5

Answer:

9. c.) \n the escape Sequence for a tab character is \n

10. c.) \n the escape Sequence for a newline character can be \n and \r

Answered by BrainlyYoda
0

\t is an escape sequence for a tab character.

(b) \t

\n is an escape sequence for a newline character.

(c) \n

Extra Information

Escape characters are those characters in Python which help us in representing whitespace characters.

There are various other types of escape characters such as

\' for Single Quote

\\ for Backslash

\n for New Line

\r for Carriage Return

\t for Tab

\b for Backspace

\f for Form Feed

\ooo for Octal value

\xhh for Hex value

Python is created by Guido van Rossum and came into existence in 1991. It is a high-level and general programming language. It is a very lucid programming language as it has a good language construct and object-oriented approach. It is dynamically typed and garbage-collected.

Similar questions