@@ -0,0 +1,457 @@
+#!/usr/bin/python%0A%0Amin=1%0Amax=100%0A%0Aprint %22Think of a number from %22+str(min)+%22 to %22+str(max)+%22.  Then, tell the computer if its guess is correct (Y), lower than the number (L), or higher than the number (H).%22%0A%0Afound=False%0A%0Awhile not found:%0A%09mid = int((max-min)/2+min)%0A%09response = raw_input(str(mid)+%22? %3E%3E%3E %22)%0A%09response = response.upper()%0A%09if response == %22Y%22:%0A%09%09print %22found it!!%22%0A%09%09found=True%0A%09elif response == %22L%22:%0A%09%09min=mid%0A%09elif response == %22H%22:%0A%09%09max=mid%0A

guess user number: python