Thursday, 14 February 2013
DiDA Deadlines for Planners
Year 10 Unit3 for Planner.ppt Download this file
Year 11 Unit5 for Planner.ppt Download this file
# Guess My Number
# Guess My Number
# The computer picks a random number between 1 and 100
# The player tries to guess it and the computer lets
# the player know if the guess is too high, too low
# or right on the money
import random
print("\tWelcome to 'Guess My Number'!")
print("\nI'm thinking of a number between 1 and 100.")
print("Try to guess it in as few attempts as possible.\n")
# set the initial values
the_number = random.randint(1, 100)
guess = int(input("Take a guess: "))
tries = 1
# guessing loop
while guess != the_number:
if guess > the_number:
print("Lower...")
else:
print("Higher...")
guess = int(input("Take a guess: "))
tries += 1
print("You guessed it! The number was", the_number)
print("And it only took you", tries, "tries!\n")
input("\n\nPress the enter key to exit.")
Craps Roller
# Craps Roller
# Demonstrates random number generation
import random
# generate random numbers 1 - 6
die1 = random.randint(1, 6)
die2 = random.randrange(6) + 1
total = die1 + die2
print("You rolled a", die1, "and a", die2, "for a total of", total)
input("\n\nPress the enter key to exit.")
Craps Roller
# Craps Roller
# Demonstrates random number generation
import random
# generate random numbers 1 - 6
die1 = random.randint(1, 6)
die2 = random.randrange(6) + 1
total = die1 + die2
print("You rolled a", die1, "and a", die2, "for a total of", total)
input("\n\nPress the enter key to exit.")
Tuesday, 5 February 2013
Monday, 4 February 2013
SID2013 Decisions
Click here for the video
What should Owen do?
Click here to Vote
Join the conversation at #WildernSID2013.
SID are tweeting from @UK_SIC and @SID2013radio.
Internet Safety IQ Test
DO YOU CONNECT WITH RESPECT? TAKE OUR QUIZ TO FIND OUT
Whether you're a child, young person, parent, carer, grandparent, teacher, established or new internet user, everyone can play a role in helping to make the internet a great and safe place.
The key is to Connect with Respect: to look after yourself and look out for others when you are online.
Take our test to find out how well you Connect with Respect and then challenge your family and friends to beat your score.
Don't worry if there's room for improvement. We've created some handy tips to help you on your way.
Take the test here
#WILDERNSID2013
Take the test here
#WILDERNSID2013
Friday, 1 February 2013
Subscribe to:
Posts (Atom)