Integer and float numbers - Learn Python 3 - Snakify

# Lesson 3.Integer and float numbers

## Problem «Last digit of integer» (Easy)

#### Statement

Given an integer number, print its last digit.

## Problem «Fractional part» (Easy)

#### Statement

Given a positive real number, print its fractional part.

## Problem «First digit after decimal point» (Easy)

#### Statement

Given a positive real number, print its first digit to the right of the decimal point.

## Problem «Car route» (Easy)

#### Statement

A car can cover distance of N kilometers per day. How many days will it take to cover a route of length M kilometers? The program gets two numbers: N and M.

## Problem «Total cost» (Medium)

#### Statement

A cupcake costs A dollars and B cents. Determine, how many dollars and cents should one pay for N cupcakes. A program gets three numbers: A, B, N. It should print two numbers: total cost in dollars and cents.

## Problem «Tens digit» (Medium)

#### Statement

Given an integer. Print its tens digit.

## Problem «Sum of digits» (Medium)

#### Statement

Given a three-digit number. Find the sum of its digits.

## Problem «Clock face - 1» (Hard)

#### Statement

H hours, M minutes and S seconds are passed since the midnight (0 ≤ H < 12, 0 ≤ M < 60, 0 ≤ S < 60). Determine the angle (in degrees) of the hour hand on the clock face right now.

## Problem «Clock face - 2» (Hard)

#### Statement

Hour hand turned by α degrees since the midnight. Determine the angle by which minute hand turned since the start of the current hour. Input and output in this problems are floating-point numbers.