00:01
So we are going to be calculating the average and the interest value of the user input in python.
00:11
So to do this, we want to first create a user list, specifically an input list.
00:23
Next, you want to create a function.
00:28
So let's do our function name, you'll call it the average number.
00:34
So average number will do with the parameter of the user.
00:43
Our list and we want to return the average.
00:48
So to do this, we need to find the sum of our list.
00:56
Divided by the length of the user.
01:07
Okay.
01:08
Now coming out, we want to get five different numbers.
01:12
We could do this in a four loop.
01:19
So we can do 4x in range 5.
01:26
This is telling the program we wanted this to loop five times.
01:33
While it is looping, we want to ask the user to enter a number.
01:40
We can cast the input to run the integer.
01:45
So enter a number.
01:48
Next we want to do the entrance value.
01:58
So the interest value is the integer, and we're going to do times 20%, which more point two.
02:10
So the user plus user integer times times two.
02:29
Now we are going to then append this to our list.
02:34
So user append and just means we're adding it to our lists that we've created our empty list, and we want to append this variable specifically.
02:55
Now, once you've gathered five numbers, we are going to get the average.
03:00
So the average, our functioning, which is average number...