1
00:00:00,210 --> 00:00:03,330
Can you answer this python quiz.

2
00:00:03,410 --> 00:00:06,690
I've got an A printer computer here I'm going to start Python 3.

3
00:00:06,950 --> 00:00:15,540
I'm going to set a equal to one B equal to two C equal to A plus B.

4
00:00:15,710 --> 00:00:17,090
What does C equal T.

5
00:00:17,090 --> 00:00:20,550
So when I press enter now what is gonna be displayed.

6
00:00:20,570 --> 00:00:22,370
Do you know the answer.

7
00:00:22,370 --> 00:00:24,050
The answer is 1 2.

8
00:00:24,050 --> 00:00:24,860
Why.

9
00:00:24,860 --> 00:00:26,650
Because this is a string.

10
00:00:26,700 --> 00:00:27,890
It's not a variable.

11
00:00:27,920 --> 00:00:33,970
I've set a equal to a string of one B equal to a string of two.

12
00:00:34,190 --> 00:00:38,020
And when I add them together this is actually concatenation.

13
00:00:38,090 --> 00:00:39,590
So the answer is 1 2.

14
00:00:39,740 --> 00:00:41,100
It's not twelve.

15
00:00:41,360 --> 00:00:49,090
Notice if I say C plus 1 I get an error because this is an integer and this is a string.

16
00:00:49,220 --> 00:00:53,500
You can't add them together you can concatenate them but you can't add them together.
