Alright, and now it's time for a few exercises to practice on
everything you have seen in this section, especially variables.
So I'm going to give you three small exercises
here and the solution will be on the next video.
If something is not clear for you, I encourage you to go
back to the previous lessons and watch them one more time.
And now let's see what are the exercises.
So the first exercise, for all the exercises you are
going to use the Python shell, like we did before.
And here you are going to ask for the name and then
for the age of a user and print the information.
So you will need to use the input function twice.
The second exercise, you will ask the user for two
integer numbers, so still with the input function,
and then you will add those numbers and print the result.
So print the numbers and also the sum of the numbers.
So as a tip here, don't forget to cast the values
you get from the input function to integer numbers.
And the third exercise, you are going to create a list containing four float numbers
and you are going to compute the average of the list and also print this average.
So for this I'm going to give you a new Python functionality you can use.
You can directly use the sum, so sum function with the list as a parameter.
This will sum all the elements in the list.
And the average is the sum of the elements divided by the number of elements.
And with that, I encourage you to really take
the time to do the three small exercises here.
And I will see you in the next lesson for the solution.