Divisible by 3 and 5
Task
The program reads a whole number and prints True if it is divisible by both 3 and 5, otherwise False.
Do not use if - printing the value of a logical expression is enough.
Examples
Input
15
Expected output
True
Rules
Print the value of the logical expression directly - no
ifneeded.
After you submit, 6 hidden tests will also check your solution: divisible by 3 only, divisible by 5 only, zero, a negative number, neither, a large number.
Python starts the first time you run code.
Ctrl+Enter runs the program. Tab indents. Press Esc, then Tab, to leave the editor.
Input (stdin)
Each line = one call to input().
Output
Hints
Try it yourself first. Each hint reveals a little more - and lowers the reward a little.
Signed out, hints are free - but no XP is awarded either.
Solution
The solution unlocks after the last hint.