Geeks With Blogs

News View Michael Stephenson's profile on BizTalk Blog Doc View Michael Stephenson's profile on LinkedIn

Michael Stephenson keeping your feet on premise while your heads in the cloud
We are currently in ward 23 the kids cardiac ward at the Freeman Hospital in Newcastle and have been playing with the code club kids programming books and AJ has created his first computer programme.

The Dr's work so hard here so we decided to help by creating ROBODOC the new NHS Super Computer Doctor.  

To use ROBODOC you simply ask it for a diagnosis  and it will give you advice to help you.  - Note this is not real Dr's advice so please dont use this to genuinely diagnose your health issues :-)

Anyway if anyone wants to play with ROBODOC, you need python and the code is below:


#ROBODOC - The NHS Super Computer Doctor
#AJ Stephenson
#Aged 8
#Written on: 2014-01-08


import random

# save the answers to use later
ans1="I think lots of medicine is required!"
ans2="I recommend a long session in the play room"
ans3="I blame the hospital food!"
ans4="I think it could be man flu?"
ans5="I prescribe TLC!"
ans6="On no its highly contagious"
ans7="Hmmmm it doesnt look good!"
ans8="Man up theres nothing wrong with you"


loopVal=1

while loopVal == 1:
    # open game
    print("welcome to ROBODOC \n\tThe new NHS super computer doctor \n")
    
    # get the users for advice
    question = input("Ask me for a diagnosis.  \n Then press ENTER and ill work my magic \n")

    print("shaking ...\n" * 4)

    # choose a random answer
    choice = random.randint(1,8)

    if choice == 1:
        answer=ans1
    elif choice == 2:
        answer = ans2
    elif choice == 3:
        answer = ans3
    elif choice == 4:
        answer = ans4
    elif choice == 5:
        answer=ans5
    elif choice == 6:
        answer = ans6
    elif choice == 7:
        answer = ans7
    else:
        answer = ans8

    # print the answer
    print (answer)
    print ("\n\n\n")


    #input("\n\n\Press the RETURN key to finish.")


Wonder how many people we can get to like ROBODOC?
Posted on Saturday, February 8, 2014 6:53 AM | Back to top


Comments on this post: Introducing ROBODOC

# re: Introducing ROBODOC
Requesting Gravatar...
iOS 10 is the tenth major release of the iOS operating system developed by Apple Inc., being the successor to iOS 9.iOS 10 improves and adds upon user experience system-wide including 3D Touch expansion, an updated lock screen, and "widget" support. There are also added features to apps: Messages adds expressive ways to communicate, Maps has been redesigned and extended with third-party functions,Home manages HomeKit-enabled accessories within one place, Photos helps users access algorithmic Memories, and Siri is now compatible with third-party app-specific requests, such as starting workouts, sending IMs, requesting Lyft or Uber and making payments.
To Get Latest IOS version called IOS 10 Download free from CydiaNerd.
Left by CydiaNerd on Sep 19, 2016 8:50 AM

# re: Introducing ROBODOC
Requesting Gravatar...
The iOS 10 Jailbreak is available now for iPhone and iPad devices. You can download iOS 10 jailbreak tool for your devices.
Left by Kabadi Master on Oct 18, 2016 4:39 AM

# re: Introducing ROBODOC
Requesting Gravatar...
Furthermore, you can get both vShare for iOS 10

Moreover, you can download MovieBox for iOS 10 on your iPhone 7 and iPhone 7 Plus without jailbreak and Cydia.
Left by Kabadi Master on Oct 18, 2016 4:40 AM

# re: Introducing ROBODOC
Requesting Gravatar...
Features of this application is quite complete. We can set notifications for pokemon that we wanted.
pokemesh

Left by Alexandr Lukin on Dec 31, 2016 2:04 AM

# re: Introducing ROBODOC
Requesting Gravatar...
You can download iOS 10.3 beta for your iPhone and iPad devices. Apple has started seeding the new iOS 10.3 beta for developers and Public beta testers. iOS 10 beta is bringing the new theatre mode for iPhone and iPad devices.
Left by Jailbreak Geek on Jan 09, 2017 4:38 AM

# re: Introducing ROBODOC
Requesting Gravatar...
it was developed for the android platform only, but later on; several emulators were introduced that may help the users to download Showbox on PC, laptops and MacBook too. It’s easy to download Showbox on android platform but since there is no such app developed that support windows or Mac OS platforms, users may need to follow the guidelines given in this article to get Showbox for windows or Mac OS. Showbox apk
Left by snow on Jan 19, 2017 5:40 PM

# re: Introducing ROBODOC
Requesting Gravatar...
Showbox App is not like other Streaming applications. Showbox
allows it’s users to watch and stream Movies and Serials up to 1080P HD. You can select the quality of the serial ranging from 360P to 1080P which is the maximum. s
Left by Alexandr Lukin on Jan 28, 2017 4:48 AM

# re: Introducing ROBODOC
Requesting Gravatar...
I can help you in teaching children some basic python programming. I am very happy to help. I am working as an software engineer since five years and now i feel like i should share what i know with the next generation. Charcoal face mask
Left by debra morgan on Feb 13, 2017 8:53 PM

# re: Introducing ROBODOC
Requesting Gravatar...
With the increase in the use of technology and its development to the country many kids programming books have been introduced to the people. But I didn’t understand the use of use of code and programs for the kids. Please make it clear. off road parts near me
Left by Eliza on Feb 20, 2017 11:27 PM

# re: Introducing ROBODOC
Requesting Gravatar...
While reading your post, i got some idea about ROBODOC. I think this blog will be useful to students to study the basics of python programming. Please provide more source codes like this. I am eagerly waiting to get it. paris walking tours
Left by Tianna on Feb 21, 2017 12:04 AM

# re: Introducing ROBODOC
Requesting Gravatar...
I have gone through your post and came to know about the working of ROBODOC. Since I don’t have much knowledge in this area so I think I need more clarifications regarding the topic. hope you will include it soon.modular home manufacturers
Left by dixon on Feb 21, 2017 11:51 PM

# Borderlands 3 Release date
Requesting Gravatar...
The Borderlands series is one of the best in the lot of action gaming. Now the third installment of the series is about to release with the addition of two new varieties of items including the laser gun and I am waiting for this game to release to check it out myself. Hope it lives up to our expectations.You can check out Borderlands 3 release date
Left by Chris Dean on May 10, 2017 1:23 AM

# re: Introducing ROBODOC
Requesting Gravatar...
Apple finally released iOS 11 beta 4 download profile for iPhone and iPad developers. The iOS 11 update is available to download. There is no need to register an iOS UDID to run the latest firmware.
Left by iOS Scoops on Jul 23, 2017 8:39 PM

# re: Introducing ROBODOC
Requesting Gravatar...
Geometry Dash is an amazing online game for all range of users. It is available on Desktops, Mobile Phones, and even on internet websites. You can easily download Geometry Dash on your iOS or Android phone.
Left by Geometry on Aug 02, 2017 12:28 PM

Your comment:
 (will show your gravatar)


Copyright © Michael Stephenson | Powered by: GeeksWithBlogs.net