Write python function flip(n) that returns either the string 'tails' if n is less than 50 or
Fantastic news! We've Found the answer you've been seeking!
Question:
Write python function flip(n) that returns either the string 'tails' if n is less than 50
or 'heads' if n is greater than 50. Assume that n is a real number in the range of 0 to 100.
Related Book For
Computer Architecture A Quantitative Approach
ISBN: 9780128119051
6th Edition
Authors: John L. Hennessy, David A. Patterson
Posted Date: