Re: [Tutor] Complicating a simple expression (Python 3)

2015-08-16 Thread Alan Gauld
On 16/08/15 21:28, Joseph Gulizia wrote: Assume that the grader defines two variables A and B for you. Write a program which prints out the value min(A, B) So far a trivial exercise. However, there is a catch: your program is not allowed to use the min function. Instead, use max in a clever

[Tutor] Complicating a simple expression (Python 3)

2015-08-16 Thread Joseph Gulizia
Complicating a simple expression Coding Exercise: Complication Assume that the grader defines two variables A and B for you. Write a program which prints out the value min(A, B) However, there is a catch: your program is not allowed to use the min function. Instead, use max in a clever way to si