Questions and Answers
Problems and Solutions
Quotes help make search much faster. Example: "Practice Makes Perfect"
Sunday, January 13, 2013
Codecademy Sample Solution: More Methods More Solutions
movie_ratings = {
memento: 3,
primer: 3.5,
the_matrix: 3,
truman_show: 4,
red_dawn: 1.5,
skyfall: 4,
alex_cross: 2,
uhf: 1,
lion_king: 3.5
}
# Add your code below!
movie_ratings.each_key { |k| puts k}
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
(no title)
Question: The total power dissipation in an RL series circuit is due to which component? Answer: The total power dissipation is due to ...
Codefights additionWithoutCarrying(param1, param2)
//sample solution function additionWithoutCarrying(param1, param2) { var param1Array = param1.toString().split("").reverse()...
What is the area of a trapezoid?
Type in the length of the shorter base of the trapezoid: meters Type in the length of the longer base of the trapezoid: meters ...
What is the area of an N-sided regular polygon?
A regular polygon has sides of equal length. Type in the length of the side of a sided regular polygon: meters Compute
What is the area of a regular myriagon (10000-sided polygon)?
Type in the length of the side of a myriagon: meters Compute
What is the area of a regular dodecagon (12-sided polygon)?
Type in the length of the side of a dodecagon: meters Compute
Codecademy Quantiles Common Quantiles 4/5
#Sample Solution --- title: "Quantiles" output: html_notebook --- ```{r} # load song data load("songs.Rda") ```...
After death, which organ putrefies last?
The spleen
Scrolling Text Using Javascript
This is the scrolling text . Code for the scrolling effect is written below: <style type="text/css"> #scro...
Find the solution to a system of linear equations with n unknowns
This script will try to solve for x in a system of linear equations of the form Ax=y . x is the unknown column vector and y is th...
No comments:
Post a Comment