1 00:00:00,540 --> 00:00:03,719 Lecturer: Let's learn another important key term. 2 00:00:03,719 --> 00:00:05,313 Well, two for that matter. 3 00:00:06,150 --> 00:00:10,380 One is expressions, and the other one is statements. 4 00:00:10,380 --> 00:00:12,900 You're gonna hear this a lot when talking to programmers. 5 00:00:12,900 --> 00:00:14,940 So what do they mean? 6 00:00:14,940 --> 00:00:16,290 Let's have a look. 7 00:00:16,290 --> 00:00:21,247 If we create a piece of code here, let's just say IQ is 100. 8 00:00:22,380 --> 00:00:23,640 IQ has lord. 9 00:00:23,640 --> 00:00:25,772 And then let's say, 10 00:00:25,772 --> 00:00:30,772 user_age is going to equal IQ divided by 5. 11 00:00:32,130 --> 00:00:35,673 An expression is this part of the code. 12 00:00:36,600 --> 00:00:41,600 It's a piece of code that produces a value. 13 00:00:42,210 --> 00:00:44,700 In our case, this produces a value, right? 14 00:00:44,700 --> 00:00:49,700 Because 100 divided by 5 is going to equal 20. 15 00:00:50,040 --> 00:00:52,920 So this is an expression. 16 00:00:52,920 --> 00:00:57,920 A statement on the other hand, is an entire line of code. 17 00:00:58,080 --> 00:00:59,880 Not this entire thing, 18 00:00:59,880 --> 00:01:02,640 but an entire line of code 19 00:01:02,640 --> 00:01:05,040 that performs some sort of action. 20 00:01:05,040 --> 00:01:08,010 In this case, what action are we performing? 21 00:01:08,010 --> 00:01:11,580 Well, the action is that we're calculating 22 00:01:11,580 --> 00:01:12,870 100 divided by 5, 23 00:01:12,870 --> 00:01:17,640 and then assigning that value to the variable user_age. 24 00:01:17,640 --> 00:01:21,150 So this is an expression, 25 00:01:21,150 --> 00:01:23,283 this is a statement, 26 00:01:24,180 --> 00:01:26,913 and also this is another statement. 27 00:01:27,870 --> 00:01:30,420 So if you hear me mentioning these terms 28 00:01:30,420 --> 00:01:31,650 throughout the course, 29 00:01:31,650 --> 00:01:34,200 hopefully, now you know what they mean. 30 00:01:34,200 --> 00:01:35,640 I'll see you the next one. 31 00:01:35,640 --> 00:01:36,473 Bye-bye.