02 Flashcards

(7 cards)

1
Q

What does %s, %r, and %d do again?

A

they are “formatters.” They tell Python to take the variable on the right and put it in to replace the %s with its value.

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

debugging

A

identify and remove errors from (computer hardware or software).

تصحيح أخطاء

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

boolean values

A

القيم المنطقية

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

(parentheses)

A

(قوسين)

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

(commas)

A

(فواصل)

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

chops

A

القطع

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

Why are you using the variable named ‘snow’?

A

That’s actually not a variable: it is just a string with the word snow in it. A variable wouldn’t have the single-quotes around it.

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