Today I coded in Python

GOD I MISS JAVA AND C++

import time
print (“Temperature Converter”)
choice = 0
while choice != 3:
        print(“1 Celsius to Fahrenheit”)
        print(“2 Fahrenheit to Celsius”)
        choice = int(input(“3 Exit \n4 Something else \n”))
        if choice == 1:
               celsius = float(input(“Temperature in Celsius:”))
               cfahrenheit = (1.8 * celsius)+32
               print(celsius, ” Celsius is “,”%0.0f” % cfahrenheit, ” Fahrenheit”)

        elif choice == 2:
               fahrenheit = float(input(“Temperature in Fahrenheit:”))
               ccelsius = (fahrenheit-32)/1.8
               print(fahrenheit, ” Fahrenheit is “,”%0.2f” % ccelsius, ” Celsius”)

        elif choice == 3:
               print(“bye”)

        elif choice == 4:
               print(“Hellooo there. Fancy seeing you here. \nThis is supposed to be a Temperature converter not a chat line. Go back the way you came. (PRESS CTRL D)\n”)
time.sleep(5)
               print(“Why are you still here?”)
               answer1 = int (input(“1 Because I am bored. \n2 To annoy you \n3 I honestly don’t want to study Bot11 \n”))
               if answer1 == 1:
                      print (“There are other much better things to do. Go away. \n \n \n \n”)
               elif answer1 == 2:
                      print (“Indeed your mere presence is insufferable. Go away before I set the hounds on your heels \n \n \n \n”)
               elif answer1 == 3:
                      print (“Go and study you fool. Do you honestly want to see that teacher again next year?”)
                      time.sleep (5)
                      print (“You’re an idiot \n \n \n \n”)
               else:
                      print (“If you want to speak gibberish, get out. \n \n \n \n”)

        else:
               print(“please choose a valid number”)

I maed dis. be proud of me.

 

WOOT HTML

i like this site

http://www.mindbodygreen.com/0-16168/i-havent-made-any-trash-in-2-years-heres-what-my-life-is-like.html?utm_campaign=recommendation&utm_medium=popular&utm_source=feature

I’m kind of stoned in a non marijuana way

YESSSS YAYAYA

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s