Questions and Answers
Problems and Solutions
Quotes help make search much faster. Example: "Practice Makes Perfect"
Saturday, December 8, 2012
LearnStreet Python Lesson 6 Exercise 5
#sample solution
#your code here
days = ["funday", "sunday", "monday", "tuesday", "wednesday", "thursday", "friday"]
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
This is an example of
scrolling text
using Javascript.
Popular Posts
What hotkeys can you use in a Python shell to repeat the previous command you typed?
Answer: Alt - p p stands for previous. If you keep pressing Alt - p, you will continue cycling back through commands you typed before. I...
Codecademy: The sum of scores
#sample solution grades = [100, 100, 90, 40, 80, 100, 85, 70, 90, 65, 90, 85, 50.5] def grade_sum(grades): sum = 0 for grade in gra...
Codecademy: "Function and Control Flow"
//sample solution def isEven(x): if(x % 2 == 0): return "yep" else: return "nope"
Codecademy Sample Solution: Conditional Assignment
favorite_animal ||= "dog" favorite_animal ||= "cat"
Codeschool Sample Solution Selecting Direct Children
$("#tours > li")
Codecademy: "Unless"
#sample solution hungry = false unless hungry puts "I'm writing Ruby programs!" else puts "Time to eat!...
Codecademy: Codeyear Nesting conditional statements
//sample solution var yourName = "Pam"; var gender = "female"; var result; //Line 10 starts an if statement //Ne...
Codecademy Sample Solution: Adding the Parse SDK to your app
<html> <head> <!-- Add the Parse SDK here! --> <script src="http://www.parsecdn.com/js/par...
Codecademy: Structure the Webpage
<!--sample solution--> <html> <head> <title>Week 13 Project</title> </head> ...
Codecademy: Printing Pretty
#sample solution board = [] for i in range(0,5): board.append(["O"] * 5) def print_board(board): for row in board: pri...
No comments:
Post a Comment