"> ");
100%

Exercises Functions & Algorithm Description

Lesson Progress

Exercises Functions & Algorithm Description

Across

  • 2. tesitng four
  • 3. testing two
  • 5. testing one

Down

  • 4. testing five

 

 

Exercises

Exercise 1

Write a function that takes in two numbers, and sum them together. Make your function print out a sentence showing the two numbers, and the result.

Call your function with three different sets of numbers.

Exercise 2

Study the following python program. Try to figure out which is the problem that this program solves.

Exercise 3

Write a Python function to check whether a number is divisible by another number. Accept two integers values form the user.

 

Click the following link to get access to more exercises..