Back to tasks
Twice as much?
BeginnerPython for kids 路 Lesson 19: Comparisons: greater, less, equal
Problem Statement
Read two numbers a and b. Print whether b is exactly twice as big as a.
Input Format
Two whole numbers a and b, each on its own line (-1000 <= a, b <= 1000).
Output Format
True or False (that's how Python prints it).
Examples
Example 1
Input
4 8
Output
True
Example 2
Input
4 9
Output
False