| about | help | done | prefs | create account |
Python > Logic-1 > love6
prev | next | chance
| The number 6 is a truly great number. Given two int values, a and b, return True if either one is 6. Or if their sum or difference is 6. Note: the function abs(num) computes the absolute value of a number.
love6(6, 4) → True love6(4, 5) → False love6(1, 5) → True ...Save, Compile, Run See also Python Example Code. Python help docs: Python Strings | Python Lists | Python If Boolean |
Forget It! -- delete my code for this problem
New just for fun
Random User Progress Graphs
Random Epic Graphs
120
Copyright Nick Parlante 2006-11 - privacy