From: Ken Bloom Date: 2007-03-31T03:40:07+09:00 Subject: Re: [QUIZ] Micrrowave Numbers (#118) On Fri, 30 Mar 2007 23:11:45 +0900, Brown, Warren wrote: > James, > >> # 120 seconds is 2 minutes, and 200 is slightly less movement than 120 >> microwave(120) => 200 >> >> # 123 seconds is 2:03, but 203 is a lot more distance microwave(123) => >> 123 > > How is the microwave supposed to know that "120" is 120 seconds but > "200" is two minutes? My experience is that microwaves will interpret > two-digit numbers as seconds and three-digit numbers as minutes and > seconds. Therefore, "99" is 99 seconds, but "120" is one minute, twenty > seconds. Am I missing something? > > - Warren Brown Here's a thought: for times from 0-99 seconds, determine the fastest way of typing those times. For times above 99 seconds, do as follows: min,sec=thetime.divmod(60) min-=1 sec+=60 and compute the distances that way. -- Ken Bloom. PhD candidate. Linguistic Cognition Laboratory. Department of Computer Science. Illinois Institute of Technology. http://www.iit.edu/~kbloom1/