Easy array problems
Names = [“Tom”, “Dick”, “Harry”] a)Add 5 extra names from your class into the array above. b)Create a loop to output all of the names (you can use a while or a for loop) c)Alter your code so it will print “Hello Tom”, “Hello Dick” etc You need to log in or create an account […]
Baby loves to play peek a boo! The following people play peek a boo on a regular basisBert Fred Sally Sue You need to write a program which will allow the number 0 to 3 to be in input. It will then output “says ‘peek a boo'” Sample output Enter a number [0 – 3] […]
Write a program which will randomly pick a joke from a list of 5 to 10 jokes. It should only display the punch line once the enter key has been pressed (hint – use raw_input!). You need to log in or create an account to submit code!
You can not trust code monkeys any more! You ask them to write some code but they end up giving it to you in the wrong order! Your task is to work out the correct order for the code below. Following is a list of tasks you have to do using the code below #1. […]