1.3.4 CSP Python – Nested Branching and Input Intro [w/ subs]



00:00:00 – ok so in this particular I lesson we're
00:00:02 – going to go ahead and look at some
00:00:04 – branching and nested branching at that
00:00:07 – we're also going to start seeing how
00:00:09 – we're going to ask the user for
00:00:11 – information and use that information in
00:00:12 – our programs so what we have here in the
00:00:16 – code editor already is a code that's
00:00:19 – from 134 it's at the very start our
00:00:21 – number-one the quickest and easiest way
00:00:23 – to get this into your code editor is
00:00:26 – just a copy it
00:00:27 – I just copy and paste it so I want to
00:00:29 – drag the assignment real quick so you
00:00:30 – can see here's the assignment right if I
00:00:33 – if i'm still on the webpage or you can
00:00:35 – even do this in the word document as
00:00:36 – well if you have the word document
00:00:37 – equivalent you can just basically cursor
00:00:40 – right here at the function and then
00:00:42 – it'll only copy just the function itself
00:00:44 – and then you can copy this and paste it
00:00:48 – into your program
00:00:49 – ok when you select it don't select the
00:00:52 – line numbers because if you select the
00:00:53 – line numbers as well it's going to paste
00:00:55 – those line numbers on top of the line
00:00:58 – numbers that are already in the program
00:00:59 – so you know then you're just gonna have
00:01:02 – to go back and delete all that so yeah
00:01:03 – try not to do that so this particular
00:01:05 – function is provided for you and what it
00:01:08 – says and in this assignment is it's
00:01:12 – going to basically tell us on what
00:01:16 – category certain inputs are in ok so for
00:01:20 – example we're going to see that it's
00:01:22 – going to return the categories are
00:01:24 – categorization of food sorry my speech
00:01:27 – today so I it gives us a couple of
00:01:30 – settings gives us a couple of different
00:01:34 – fruits or different vegetables that we
00:01:35 – can throw in here and then it's going to
00:01:38 – return what kind of fruit or vegetable
00:01:42 – it is ok so for example if i go ahead
00:01:45 – and run this function right all right
00:01:48 – helps i have an unindexed what happen
00:01:51 – here up that's me that just means the
00:01:52 – did
00:01:53 – indent that all once there we go ok so
00:01:56 – there's an extra space in there you may
00:01:58 – get that energy if you do the copy and
00:01:59 – paste so right now the function stored
00:02:03 – so if i tried this like this
00:02:05 – ok if i do food ID and then loops and
00:02:09 – then open a set of parentheses type the
00:02:11 – food so for example by type apple right
00:02:14 – by type apple and press enter it's going
00:02:16 – to return that it is not citrus but it
00:02:19 – is fruit
00:02:20 – ok so arm think of it as sort of a like
00:02:25 – a like a food categorize ur right and if
00:02:27 – we put the food in here that's not on
00:02:30 – the list
00:02:31 – do you think we're still going to get an
00:02:33 – output so for example if i put in here
00:02:34 – mango right put in here mango what's it
00:02:38 – going to say right well no actually get
00:02:42 – you actually get an input and that input
00:02:44 – is not starchy and not fruit now if you
00:02:48 – know what a mango is you know mango
00:02:49 – certainly is true and it's also
00:02:51 – delicious absolutely so on so obviously
00:02:55 – if you want to expand this program to
00:02:57 – have certain sort of identify things you
00:02:58 – would have to put that into these
00:03:00 – categories right now this this
00:03:02 – particular program right now only
00:03:03 – handles oranges bananas apples and
00:03:05 – potatoes
00:03:06 – ok so you know obviously not a very odd
00:03:09 – wide breadth program that's ok but for
00:03:12 – the purposes of this specular scenario
00:03:15 – it's ok for our purposes
00:03:17 – alright so now if we put in apple what
00:03:24 – part of the code was returned
00:03:27 – ok so when we put in apple we got not
00:03:31 – citrus and fruit
00:03:32 – well that not citrus fruit line is which
00:03:35 – line in the function its line 17 so that
00:03:40 – means if we kind of trace back what was
00:03:42 – executed here that means that it looked
00:03:47 – to see if it was a fruit if it was in
00:03:51 – the list of fruits and it was and then
00:03:56 – once it said that's true
00:03:57 – look what happens on line fourteen it
00:04:00 – gets to another if statement and it
00:04:02 – tests to see if it's in citrus
00:04:04 – and if it if it is not in citrus it will
00:04:09 – go to the else statement which says to
00:04:11 – return not citrus and fruit
00:04:14 – ok so line 17 was executed here based on
00:04:18 – based on the that that flow now if it
00:04:20 – found that it wasn't in fruits it would
00:04:23 – then instead continue to this else
00:04:25 – command which then asks another question
00:04:27 – is it in the starchy list okay and if
00:04:30 – it's false then it would return not
00:04:33 – starting not fruit so we basically have
00:04:36 – a series of nested inputs and else's we
00:04:39 – have if statements like this one here
00:04:41 – that are only executed if this first if
00:04:45 – statement is true that's called nested
00:04:47 – branching ok nested branching is having
00:04:50 – conditionals inside of other
00:04:53 – conditionals ok and when I say
00:04:55 – conditions i mean if then if then
00:04:57 – structures ok
00:04:58 – and of course that also is controlled by
00:05:00 – intense so we can see for example that
00:05:02 – this statement this if statement right
00:05:05 – here is going to execute if food and
00:05:08 – citrus is true it will execute this line
00:05:10 – only if there was further code it will
00:05:13 – try to execute that as well but
00:05:15 – obviously since is ready to return line
00:05:16 – that that that stops the function return
00:05:18 – line is it's sort of the Terminator for
00:05:20 – the function right so but if i wanted to
00:05:23 – put something else in here right i could
00:05:24 – say print you know whatever I want
00:05:28 – right and it will execute that along
00:05:30 – with returning the value of the function
00:05:32 – but obviously that's not ok so now
00:05:37 – question 1 sorry question to be okay
00:05:40 – asks you to find what inputs would
00:05:44 – execute certain lines of the function so
00:05:47 – for example line fit the first part says
00:05:50 – to be and then
00:05:51 – item number one and i'm just reading the
00:05:53 – assignment what input will cause line 15
00:05:56 – to be executed
00:05:58 – alright well what's line 15 returning
00:06:01 – citrus and fruit
00:06:03 – ok so out of the inputs that we can
00:06:05 – provide this front of this function what
00:06:07 – input can we provide that we return
00:06:09 – citizen fruit what do you think
00:06:11 – if the food is in citrus and what else
00:06:15 – if the food isn't fruit
00:06:20 – ok so what what I item fits what item is
00:06:24 – in in fruit and citrus according to the
00:06:27 – list of data that we have online eight
00:06:29 – through ten
00:06:30 – yeah it's the orange so i can type that
00:06:33 – and by the way once again i forgot logs
00:06:35 – start the lartey sample 134 Donald head
00:06:40 – I've got to start long alright so if I
00:06:44 – if I test that if i type food ID orange
00:06:47 – think I put that in quotes because it's
00:06:49 – a string and I get that output that's
00:06:52 – line 15 so orange might would be my
00:06:55 – answer to to be right so i would say to
00:06:58 – be I orange right and if i want to be
00:07:06 – too what input would cause line 17 to be
00:07:10 – executed sort of using doing a couple
00:07:19 – for you
00:07:19 – ok what input would what input would
00:07:23 – cause line 17 to be executed
00:07:31 – well if the food is not in citrus but
00:07:35 – the food also has to be in fruit so
00:07:39 – what's the item that's in front but not
00:07:41 – in citrus apple right we could do that
00:07:45 – what else would work for that banana
00:07:47 – would also work for that ok and that's
00:07:52 – it right because those are the items
00:07:53 – that are in fruits but not in citrus ok
00:07:56 – so we can kind of see that now I'm not
00:07:59 – gonna spoil all of them for because
00:08:00 – there's a third and fourth one is ask
00:08:02 – you what what would execute 21 x 222 so
00:08:04 – you can answer those on your own
00:08:06 – ok you will do all of course yes ok now
00:08:09 – the other thing I want to go go over
00:08:11 – here is that the question to see states
00:08:16 – the following it says bananas are
00:08:17 – starchy and the program knows it but why
00:08:21 – we'll line 20 never result in bananas
00:08:23 – being reported as starchy ok so for
00:08:27 – example take a look at this right we
00:08:29 – have a starchy list in our in our data
00:08:31 – here's our start list line ten bananas
00:08:33 – and potatoes according to this program
00:08:35 – right but the program will never output
00:08:39 – that bananas are starching okay well I
00:08:45 – want you to think about why is it that
00:08:47 – line 20 will never execute when you put
00:08:49 – banana in while line 20 not execute
00:08:53 – because it's in fruits that's precisely
00:08:57 – correct it is at its in this list and
00:09:01 – the program does not have a way to do
00:09:05 – that check you know and matter-of-fact
00:09:09 – it started but it's also a fruit so you
00:09:11 – know in a way that we would add another
00:09:13 – line or so but that's something that's
00:09:14 – not being reported that it should be but
00:09:18 – it should be reported right so that's
00:09:21 – kind of a it's kind of a bug right it's
00:09:23 – something that's not working as you
00:09:24 – would intended to so sometimes sometimes
00:09:29 – to figure out
00:09:32 – figure out what works and what doesn't
00:09:37 – testers were often write what's called a
00:09:39 – test suite or a tattoo or a another
00:09:43 – program or another function that
00:09:45 – actually tests
00:09:46 – what how it functions working so what
00:09:48 – i've done here is i've copied and pasted
00:09:50 – this from the activity and it's a food I
00:09:56 – detest function and I just copy and
00:09:58 – paste it sits right at its right number
00:10:00 – three they define glass box testing and
00:10:04 – they also / define test driven design
00:10:06 – they also divine test driven design for
00:10:10 – for for you
00:10:13 – ok now food I detest is the function
00:10:17 – you don't have to worry about changing
00:10:18 – this function you just have to kind of
00:10:19 – try it so lets it let's throw that
00:10:20 – function okay and if we type in food ID
00:10:25 – test it has no arguments and all its
00:10:29 – doing basically is testing to make sure
00:10:32 – that the function actually works
00:10:35 – ok now the way that this is written
00:10:40 – ok the way that this is written in the
00:10:43 – way this is executed then you get you
00:10:46 – get you get an output based on that now
00:10:48 – if there was a bug if there was a
00:10:50 – problem then it would report that
00:10:54 – problem let's say for example right I'm
00:10:56 – gonna I'm gonna modify the program so
00:10:57 – that you can see what would happen so
00:10:59 – now let's say for example that I have
00:11:01 – orange but let's say I have orange and
00:11:04 – citrus but I don't have it in fruits
00:11:07 – ok so slightly quoted so I'm going to
00:11:12 – have this list now change though it's
00:11:13 – just apples and bananas
00:11:14 – ok so let's do the function and let's
00:11:18 – run that food I detest and then notice
00:11:21 – now it tells me that there's a bug and
00:11:25 – the bug is the fact that it's not
00:11:28 – reporting the correct value so if we
00:11:31 – look at the test fleet the test suite
00:11:33 – says this line right here my number 29
00:11:38 – it's checking to make sure that if you
00:11:40 – do if you do food ID of orange that the
00:11:44 – output is citrus comma fruit
00:11:46 – ok so the expected output a citrus
00:11:48 – common fruit but because of the changes
00:11:51 – I made to the list that change caused a
00:11:53 – different output
00:11:55 – ok that is other than citrus and fruit
00:11:57 – so then if that happens it sends false
00:12:01 – it sends the variable of works which is
00:12:03 – what this function is kind of writing to
00:12:04 – to false and then has the following
00:12:07 – output that there's a bug in orange
00:12:09 – orange should work that way
00:12:10 – it says okay so then you also can add
00:12:15 – other lines to make sure that pretty
00:12:17 – good outputs are supposed to be our
00:12:19 – supposed to happen so right now orange
00:12:20 – and banana written like this that's why
00:12:22 – the test week works but you now also
00:12:25 – have the option of adding in different
00:12:27 – things like for example if food ID Apple
00:12:31 – loops apple lowercase ok does not equal
00:12:35 – citrus not citrus fruit sit a spell
00:12:41 – citrus right that would help citrus
00:12:43 – what's that right fruit get tonight
00:12:48 – alright so and we can have kind of copy
00:12:50 – and paste that code right we can say
00:12:51 – that that there's a you know it doesn't
00:12:54 – work right and I got spell false with a
00:12:57 – capital F to get the register there it
00:12:59 – goes
00:13:00 – print Apple bug found our up login food
00:13:04 – ID right to us
00:13:07 – just so you know what I'm direct number
00:13:09 – when i'm recording these videos I have
00:13:11 – the recording screen on different on a
00:13:14 – different screen the overhead so like
00:13:16 – I'm looking at the activity on one
00:13:17 – laptop on my laptop itself but the
00:13:19 – output is being sent to the board so i'm
00:13:21 – recording the board that's why I have to
00:13:23 – look to the side by typing is not as it
00:13:24 – should be on so you can sort of add
00:13:27 – those values in just like that now the
00:13:30 – activity does not necessarily ask you to
00:13:32 – do that I'm just kind of showing you
00:13:34 – that that's where you would do it
00:13:35 – ok and if you want to write test suites
00:13:37 – for future programs and make sure that
00:13:39 – outputs are is predicted that's
00:13:41 – something that you can you can do you
00:13:42 – have the ability to do that
00:13:43 – checking outputs of functions you should
00:13:45 – have things as predictable outputs ok
00:13:48 – all right now part two number for now we
00:13:53 – have a function but that function is not
00:13:57 – given to in Python code i'm dragging in
00:13:59 – here to show you
00:14:00 – ok that's number four number four says
00:14:02 – define a function f of X that implements
00:14:04 – this flowchart a flowchart is another
00:14:06 – way to represent an algorithm input and
00:14:08 – output are rectangles and branching
00:14:10 – decisions are in diamonds
00:14:12 – ok you may have knit maybe UFC a flow
00:14:14 – chart looks like this maybe you have it
00:14:16 – but it's sort of a way to give a
00:14:19 – graphical representation of what the
00:14:21 – program is doing ok just like we learn
00:14:24 – about last marking period we learn about
00:14:26 – kind of a floater is but this is the
00:14:27 – first time that you get to take a
00:14:29 – flowchart and convert it to a program
00:14:31 – ok so fun stuff right so here's your
00:14:35 – starting point your starting point the
00:14:36 – program is right where this arrow is
00:14:37 – right here
00:14:38 – ok now the first question asked you to
00:14:44 – decide whether and the input is an
00:14:47 – integer
00:14:47 – ok so the function we're defining here
00:14:49 – is FX the same and number numbers X
00:14:52 – right it's the final whether or not is
00:14:54 – an integer
00:14:55 – ok so the way you check that is you
00:14:58 – check to see if the integer value of n
00:15:00 – is also equal to itself right so that
00:15:03 – sort of this is very it's giving you
00:15:05 – effectively one-on-one conditional
00:15:06 – statement you have to use in your
00:15:07 – program
00:15:08 – ok into then double equals in now if
00:15:12 – that answer is yes right
00:15:14 – following the flowchart a branching
00:15:16 – decision usually there's a guess and
00:15:18 – there's a know right so here's the yes
00:15:20 – that is going to do something else if
00:15:22 – it's know it's going to report the end
00:15:25 – is not an integer now I think in Python
00:15:28 – how do you do that how do you have it so
00:15:30 – that if this is
00:15:31 – not true that execute this code what you
00:15:35 – use an else statement exactly
00:15:37 – ok so you would have this statement here
00:15:38 – you would have execution of whatever you
00:15:41 – know if it's true but your else
00:15:42 – statement will be printed and report the
00:15:44 – end is not an integer
00:15:46 – ok that's a Princeton you have to do
00:15:48 – that he'll tell the user hey Sarge can
00:15:49 – use the function values with integers
00:15:51 – now it is yes then you got another
00:15:55 – decision
00:15:56 – this is a mystic branch so this if
00:15:59 – statement that follows has to be within
00:16:02 – the indentation of the previous if
00:16:04 – statement
00:16:05 – ok just like when we were doing the
00:16:06 – citrus in the fruit thing with it with
00:16:08 – that initial program so the next
00:16:11 – question says ask is is any even ok now
00:16:16 – there's a new operator in this statement
00:16:18 – and a % 2 double equal 0 @ % is called
00:16:23 – modulus ok modulus returns the remainder
00:16:26 – of the division problem
00:16:28 – ok so in other words if you do for mod
00:16:31 – to the output is 0 if you do seven mod
00:16:35 – to the output is 1 because the 7/2 is
00:16:39 – three remainder 1
00:16:41 – ok so
00:16:46 – so this function here this statement
00:16:48 – here is going to check to see if n is
00:16:49 – even
00:16:50 – well end even when there's no remainder
00:16:52 – you / to write so that's why the
00:16:54 – statement works ok so if you have a yes
00:16:56 – if you have yes you have another if
00:16:59 – statement to ask if it isn't know how do
00:17:02 – you know again else you have to report
00:17:04 – that is another ok so it's yes you get
00:17:08 – another decision you're going to check
00:17:09 – to see if it's divisible by 3 right so n
00:17:12 – mod free does that equal 0 if it doesn't
00:17:15 – report that it's even if it does you
00:17:18 – report the end of multiple six and then
00:17:20 – functions done
00:17:21 – ok so this is second effectively one
00:17:24 – statement at the beginning
00:17:26 – use mouse one if statement at the
00:17:28 – beginning another if statement within
00:17:31 – their and then you would need another if
00:17:33 – statement so you'll have a three deep
00:17:35 – level of its if statements so you got to
00:17:37 – watch your index make sure that you're
00:17:39 – inventing the right amount when you
00:17:40 – write this function okay and you should
00:17:43 – of course get a predictable set of
00:17:44 – outlets for that so no you don't have to
00:17:47 – write by the way just because you wanted
00:17:48 – out
00:17:49 – you do not have to write a test suite
00:17:50 – for this program
00:17:52 – okay you don't have to test no but you
00:17:54 – should obviously make sure that if you
00:17:56 – type in F of 2 it should tell you it's
00:17:59 – even if you type of 13 to tell you
00:18:02 – thought if you type of 13.5 tell you
00:18:05 – that's not an integer so all of your
00:18:07 – output should be predictable if you're
00:18:09 – not getting the correct outputs you
00:18:10 – gotta but you gotta fix it
00:18:12 – ok alright you gotta question good when
00:18:14 – you're doing
00:18:17 – first you have it
00:18:22 – no in Python in Python you only have to
00:18:27 – write that if you have you have to write
00:18:28 – down the next like feel like this right
00:18:30 – if you're writing if food ID equals that
00:18:34 – there's your binders conditional
00:18:35 – statement with the colons it so we call
00:18:38 – if then structure but you know actually
00:18:40 – use the word that in Python ok question
00:18:43 – you do have to use else for the false
00:18:46 – thought for the false of that yes
00:18:48 – question
00:18:56 – so what so what you're saying is when
00:18:58 – you typed in mango then you got an
00:19:00 – output of citrus uh-huh
00:19:09 – it doesn't because it because if that
00:19:12 – data is not input into the program we
00:19:14 – would have to put that in the right
00:19:16 – lists for it to quote-unquote work
00:19:18 – the question was why was it why did
00:19:20 – mango report as not starting up fruit so
00:19:22 – that sort of our let's call it default
00:19:25 – response let's say if it's or if it's if
00:19:27 – it's something that's not in one of
00:19:28 – those lists that's going to be the
00:19:29 – output right so we know that's not true
00:19:32 – because we're human but computers don't
00:19:34 – we have to tell computers everything
00:19:35 – right and that's another one of those
00:19:37 – looks sort of overall I think that's
00:19:39 – what overall our overarching concept is
00:19:41 – if we want computers to do something we
00:19:43 – have to tell it to do that you know
00:19:44 – Watson is an example watching the
00:19:46 – Jeopardy thing right
00:19:47 – that thing had to be programmed with all
00:19:49 – the branches
00:19:50 – ok so to say the least ok another
00:19:53 – question that we move on or we'll try it
00:19:57 – next time ask that
00:19:58 – not now good
00:20:01 – so all right so all that will hold on
00:20:07 – after that we got one more thing to show
00:20:08 – you and then we'll be able to will be
00:20:09 – able to get some more time ok one more
00:20:12 – thing we're going to show you is we're
00:20:13 – going to show you the raw input function
00:20:14 – okay now this is not my example here are
00:20:17 – not necessarily based on the based on
00:20:20 – the activity but I do want to show you
00:20:21 – kind of how it works okay so here's the
00:20:24 – wrong functional use up we'll use wrong
00:20:25 – the ipython to show you right
00:20:27 – raw input of type something here
00:20:33 – okay if I put that into ipython it's
00:20:37 – going to bring up a prompt but that
00:20:39 – prompted of course be preceded by what i
00:20:41 – type inside the parentheses
00:20:43 – alright so type something here
00:20:47 – right and then it will return what was
00:20:50 – typed so the raw input function
00:20:52 – basically gets a response from the user
00:20:55 – ok but it gets a response from the user
00:20:58 – and returns a string of that response
00:21:08 – ok so when i typed in something here
00:21:12 – that's something here was a string
00:21:15 – ok now if I ask for a number you know if
00:21:19 – i say i want to type in going to be
00:21:21 – wrong but I want to get a number then
00:21:23 – that number is also going to be a string
00:21:26 – ok so let's try this for example watch
00:21:28 – this a equals raw input give me a number
00:21:33 – between five and six
00:21:36 – alright so i type that in
00:21:39 – it's going to prompt me for a number 5.2
00:21:42 – for example i press enter now that
00:21:45 – variable has been stored in a but notice
00:21:50 – how it's been stored it's a string so if
00:21:55 – I want to do let's say B equals 5 and
00:21:57 – then try to do a plus B I'm gonna get a
00:21:59 – typeerror you can't add a string an
00:22:01 – integer so what's the way around that
00:22:04 – what's the way around that and just so
00:22:09 – you know there's the type to stage until
00:22:10 – you see right there type by the way
00:22:13 – there's another function right there you
00:22:14 – can use the type of variable to tell
00:22:16 – what type of variable it is ok the type
00:22:18 – function does that so what do I have to
00:22:20 – do I have to use the books I can't do
00:22:25 – that because it's not an integer floated
00:22:27 – a plus B there you go
00:22:30 – ok I have to use it I so i have to do a
00:22:32 – type change in order to use that in the
00:22:34 – in the way I want to use that I also by
00:22:38 – the way can do this I can say a equals
00:22:42 – the float of the raw input
00:22:47 – of number from five to six right next to
00:22:52 – that extreme so i can use that value as
00:23:00 – well I forgot to close the ok number
00:23:02 – from 565 one time right
00:23:05 – and now a is now listed as a float if I
00:23:08 – taipei it's a float
00:23:11 – ok so you also have the option of
00:23:13 – converting the raw input directly by
00:23:16 – using a nested function
00:23:17 – there's another word there's that word
00:23:19 – again right so what I did here was
00:23:21 – remember it's just like in math we kind
00:23:23 – of work the way it worked away from the
00:23:25 – inside out so we have raw input of that
00:23:28 – number but then what are we gonna do
00:23:29 – we're gonna take that wrong foot value
00:23:30 – and we're going to convert it to a float
00:23:32 – alright so you're basically basic out
00:23:36 – for that is since Ryan put only uses
00:23:38 – strings by by nature you can if you want
00:23:41 – to use it as a number and you are going
00:23:43 – to use obviously number 78 then you're
00:23:45 – going to get that you're going to have
00:23:47 – to convert that for using a floater into
00:23:48 – function on its it didn't come up for me
00:23:52 – but you may get the following i'm going
00:23:54 – to show you as a comment if you type the
00:23:57 – type of a sometimes may get something
00:24:02 – called unicode ok you may get something
00:24:04 – called unicode that actually is an
00:24:06 – extension of of ascii characters which
00:24:09 – is sort of the mean 255 character
00:24:12 – library that we use in the United States
00:24:14 – for four letters and numbers and symbols
00:24:16 – and things your keyboard arm unicode is
00:24:19 – an extension of that it's called utf-8
00:24:21 – unicode text format 88 bit format that
00:24:23 – is and that if you sometimes type in a
00:24:27 – string you may get an output that looks
00:24:29 – like this you possibly 5.5 right if it's
00:24:33 – a string that you means unicode that
00:24:35 – doesn't happen
00:24:36 – hot for everybody that may happen to a
00:24:39 – couple you but for the most part it will
00:24:40 – type it and keep it as a string and then
00:24:42 – you want to worry about that but just in
00:24:43 – case just in case it happens
00:24:46 – alright so I'll close off with it with
00:24:48 – the following number seven
00:24:50 – they give you a function and that
00:24:52 – function works as is and then they have
00:24:55 – you test that function but then they
00:24:57 – have you add to that function using a
00:24:59 – couple of
00:25:00 – random numbers and a couple of extra
00:25:05 – props that wants you to throw in there
00:25:06 – so just read that carefully and then a
00:25:09 – number eight
00:25:09 – they asked you to write a decimal quiz
00:25:11 – to determine whether a number is between
00:25:13 – two other numbers sort of like a like an
00:25:16 – understanding kind of thing you read
00:25:17 – about a number eight and you'll see what
00:25:19 – I'm talking about
00:25:20 – ok so this lesson here about nesting
00:25:22 – branching is over
00:25:23 – have a nice day


Video Url:
http://youtu.be/5vKhWGEgpIQ

(Visited 327 times, 143 visits today)

Comments

comments