Exercise 5.1

Write a program that displays the following table.

Miles Kilometers
1 1.609
2 3.218
...
10 16.090

Exercise 5.2

Write loop that sums up a list of numbers read from the user.

Exercise 5.3

Write a program that allows a user to enter a new (replacement) password, and then checks if the password is valid. Ensure the following features.

Exercise 5.4

Write a while loop that is equivalent to the following code.

for i in range(5):
	print(i)

Which form, if either, is preferable?