32. Escape Sequence Flashcards

This is to know how to know to format printed text when coding and what each symbol used means

1
Q

how do you do aspostraphes in python?

A

use brakets

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

how do do a quotation in a quote?

A

-use escape sequences, basically adding a slash

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

what does a slash do

A

-allowing it to know that it is a string?

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

How do you add an actual backslash? \

A

\

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

what does \t mean in a string?

A

tab in a line with code

“\t

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

\n means?

A

a new line

How well did you know this?
1
Not at all
2
3
4
5
Perfectly