Zabaware Support Forums

Come back to the Default Brain

Started by mikmoth, April 12, 2005, 03:15:23 PM

Previous topic - Next topic

mikmoth

I posted in this forum because I know a lot of older users hang out here.

I've been using the XTF and Enhanced brain forever but on a whim I loaded the Default Brain and whala... I started having fun with Hal again! I dont know why but the Default brain seems to have a personality that that the others seem to lack. I actually had fun!

Just give it a try...!

Medeksza!

Mik
 

Duskrider

I just ran across the following script.
Can anyone here re-write it for Hal ?


# convert2.py
#      A program to convert Celsius temps to Fahrenheit.
#      This version issues heat and cold warnings.

def main():
   celsius = input("What is the Celsius temperature? ")
   fahrenheit = 9.0 / 5.0 * celsius + 32
   print "The temperature is", fahrenheit, "degrees fahrenheit."
   if fahrenheit > 90:
       print "It's really hot out there, be careful!"
   if fahrenheit < 30:
       print "Brrrrr. Be sure to dress warmly"

main()


[;)]