diff --git a/Programs/busgame.py b/Programs/busgame.py new file mode 100644 index 0000000..d3b1026 --- /dev/null +++ b/Programs/busgame.py @@ -0,0 +1,22 @@ +print("Type 'help' in the command line to briefly understand the game") +command="" +while True: + command=input(">").lower() + if command =="start": + print("Bus started, ready to go ------> |----------|") + print(" | | ") + print(" |----------| ") + print(" o o o o ") + elif command=="stop": + print("Bus stopped, |----------|") + print(" | | ") + print(" |----------| ") + print(" o o o o ") + elif command=="help": + print("start=to start the Bus,\nstop=to stop the Bus,\nquit=to quit the game.") + elif command=="quit": + print("Thanks for playing,We hope you return back here soon.") + break + else: + + print("Sorry,i didn't understand ...\nPLEASE TRY AGAIN.") \ No newline at end of file diff --git a/Programs/farenhitetocelsiusconvertor.py b/Programs/farenhitetocelsiusconvertor.py new file mode 100644 index 0000000..ca174d9 --- /dev/null +++ b/Programs/farenhitetocelsiusconvertor.py @@ -0,0 +1,3 @@ +f=float(input("enter the temperatur in fahrenhite scale = ")) +c=(f-32)*5.0/9 +print ("celcius scale",c) \ No newline at end of file