00:01
Okay, so this question says in python, given four floating point numbers, use a string formatting expression with conversion specifiers to output their product and their average as integers, rounded, then as floating point numbers.
00:21
We put each rounded integer using the following.
00:27
We put each floating point using, or with three digits.
00:33
After the decimal point which can be achieved like this.
00:36
Simple, this.
00:40
So let's start off by just getting four floating point numbers.
00:45
A, let's just say it's one, b, one.
00:49
In fact, let's just all, let's put it in a list.
00:52
It equals number.
00:57
These numbers are there.
01:02
So we want their product.
01:04
So let's say prod equals zero.
01:13
So, oops, zero times two.
01:27
And the average is for lenn.
01:36
Okay, so here we have the product in the average.
01:41
So the first one it wants is a rounded integer using this method.
01:47
So let's do that...