Tuesday, 5 May 2015
Tuesday, 21 April 2015
SIRI Chatbot instructions
# siri
import random
#write answer
ans1="Why are you asking me this question"
ans2="I will have to kill you to tell you"
ans3="I do not want to scar your innocent mind"
ans4="Go for it"
ans5="That is not a valid question"
ans6="Your questions are irriating my simple brain"
ans7="Very funny"
ans8="You are to young to know that"
print("Hello Human")
#get the users questions
question= input("Ask me for advice and then press ENTER to shake me./n")
print("shaking...\n"*4)
#use the randint() function to select the correct 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 to the screen
print(answer)
input("\n\nPress the ENTER key to finish.")
import random
#write answer
ans1="Why are you asking me this question"
ans2="I will have to kill you to tell you"
ans3="I do not want to scar your innocent mind"
ans4="Go for it"
ans5="That is not a valid question"
ans6="Your questions are irriating my simple brain"
ans7="Very funny"
ans8="You are to young to know that"
print("Hello Human")
#get the users questions
question= input("Ask me for advice and then press ENTER to shake me./n")
print("shaking...\n"*4)
#use the randint() function to select the correct 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 to the screen
print(answer)
input("\n\nPress the ENTER key to finish.")
Monday, 23 February 2015
Artificial Intelligence
1.Robots are useful since they can do jobs that is not capable for humans to do or they can also make jobs easier for human beings. In some instances robots may be able to some jobs more efficiently than humans .2.The problem with robots is when there is a glitch in the programming. Sometimes it could be hard or impossible to solve it and it may cause threat or danger or even destruction to humans and their surroundings .3.Society should be concerned about the problems that may occur with robots in the future because it would be too late to solve them when the things start spiraling out of control. And also they should develop set methods and precautions to prevent things going wrong with the robots.4.Yes. I agree with this statement. programmers have to think an check their programming whilst creating a robot so that it does not mimic the things humans can do, which is basically learning to learn. And a fixed reliable solution should be made so that if anything goes wrong people can turn to the solution.
1.Robots are useful since they can do jobs that is not capable for humans to do or they can also make jobs easier for human beings. In some instances robots may be able to some jobs more efficiently than humans .2.The problem with robots is when there is a glitch in the programming. Sometimes it could be hard or impossible to solve it and it may cause threat or danger or even destruction to humans and their surroundings .3.Society should be concerned about the problems that may occur with robots in the future because it would be too late to solve them when the things start spiraling out of control. And also they should develop set methods and precautions to prevent things going wrong with the robots.4.Yes. I agree with this statement. programmers have to think an check their programming whilst creating a robot so that it does not mimic the things humans can do, which is basically learning to learn. And a fixed reliable solution should be made so that if anything goes wrong people can turn to the solution.
Monday, 19 January 2015
Sunshine Leisure Center
Sunshine Leisure center Logo ideas
![]() |
This is my first logo for sunshine leisure center. I think this logo is memorable because the image is in relation the name. The colors are also easy to remember but the design is quite complicated. |
Subscribe to:
Posts (Atom)