 So let's say for example, I need to build a nested list from scratch and I've already built out the outer List that I'm going to be working off of mult table and let's say for example I literally want to build the multiplication tables for some x y Constraints, okay. Well, I need to build that and I want to have sort of you know on the first row It would be that row times some number of columns So to speak so we'll say that My rows I'm going to just arbitrarily say ten And then my columns also ten again So the way you think about this is I want to build a multiplication table of Every digit from zero to ten and then see what it's multiplied by With sort of the columns of zero to ten as well So how could I go about building sort of this structure? So to start the way I like to think about this is what I like to do is build a temporary list For sort of each row of my table. So again. Oh, that's not what I wanted for I in Range rows remember range is just going to generate that zero to Whatever number we specify in it. So in this case it would generate zero to nine But we can do some fancy, you know adding and subtracting to fix that But again, I like to build out sort of a row to work off of Row square brackets again the way to think about this is I'm just going to Focus on now this temporary smaller List that currently is empty, but I'm going to add to it as I go through sort of the columns if you will and so That's exactly what I'll do for J in range calls Now I'm using I in J. These are very common variables, especially here For in a for loop typically because I is short for index why we use J Is because it's the next letter after I if we needed to go even further. We would use K That's more just rules of the world, you know Common practice that someone invented once upon a time and we all just sort of did it but anyways We're now dealing with the fact that okay, I am going to just for our sake start with printing I and J Once again, that just it's going to tell me it, you know, it doesn't solve my problem. It doesn't Give me the answer, but you can see it's at least confirming what I thought I'm getting Zero to nine or rather my columns. So I is always going to be zero while I go through all of my J's or my columns of Zero to nine as well. Obviously again, I want to I'll work off of since, you know, zero times anything is just going to be zero I'll do one to ten since I'm looking off of those Well in that case, I'll just build a very simple count that is I plus one times J plus one and the same kind of thing. Oh, I didn't print it Same kind of thing what I should see if I print this out is again, just sort of the multiplication table But not quite built just yet, right? It I just printed so everything's on its own line I haven't built my multiplication table just yet But that's where that temporary row that I worked off of can be beneficial because again that Is now just floating in space and what I can do with it is say row dot a pen I can take the calculated number that I just made rather than just printing it. I Can append it to row And the last thing I will do is I'll just do first a print on that row Now this isn't going to magically it's not the same as storing it in the multiplication table But it's going to look very similar And that's exactly what you can see is now I've created effectively this row. That is the multiplication at any particular X or To any particular location of one of two numbers. So, you know one times one to ten two times one to ten three times one to ten Etc. Etc. But the point is as of right now It's still only constrained it to row and we're only still working off of a a single List a single dimensional list But what I can do is I can come in Finally and so now that I've built out my row I can come in with my mult table And do the exact same thing But rather than just a pin to a single number I can append mult or I can append the entire list to my multiplication table and as a result I'm getting a Multidimensional list Now what I can do with this is I can do some calculations So if or not do some calculations, but do some lookups So mult table if I wanted to know two times I don't know eight. I know that we know that that's 16, but what we should see here is Not because we're doing We're we're adding a one to it So if I were to Remove that if I were to just do Including zeros in this case if I were to just continue including zeros then Mult table two times eight or Referencing the second row and the eighth column I should see 16 oh Okay, okay. This is where I did not run everything. So this is my fault Mult table is now giant because I've technically ran this twice and just to even see this It's gonna be a hideous Mess where I still have all my ones and now I have zeros going on there as well That was my fault So let me start over reset my mult table now run through that and now Without further ado I think that we were working off of eight now the second row at the eighth column should say 16