1
00:00:00,120 --> 00:00:07,650
Now in python you may see that some people write code like this and other people write code like this.

2
00:00:07,650 --> 00:00:11,520
Notice double inverted commas single inverted commas.

3
00:00:11,610 --> 00:00:12,760
Which is better.

4
00:00:12,780 --> 00:00:14,150
Can you mix them.

5
00:00:14,280 --> 00:00:23,240
So firstly I can mix these together so I can say C equals a plus b c equals twelve in this example.

6
00:00:23,250 --> 00:00:25,740
This is a string so it's not one.

7
00:00:25,770 --> 00:00:28,630
It's actually a string value of one.

8
00:00:28,680 --> 00:00:30,310
This is a string of two.

9
00:00:30,390 --> 00:00:32,820
It is bad practice to mix together.

10
00:00:32,820 --> 00:00:34,120
Have a look at pep 8.

11
00:00:34,230 --> 00:00:40,230
So PDP eight on the Python website if you want to learn best practices of how to write Python code so

12
00:00:40,230 --> 00:00:43,060
don't mix but you can choose one or the other.

13
00:00:43,080 --> 00:00:48,510
So the idea is if you decide to write it this way then be consistent and stick to that way of doing

14
00:00:48,510 --> 00:00:49,130
things.

15
00:00:49,140 --> 00:00:54,870
Notice Python does printed out with single inverted commas but you could use double inverted commas

16
00:00:54,870 --> 00:00:55,710
if you prefer.

17
00:00:55,710 --> 00:00:57,900
Bottom line is be consistent.
