Questions and Answers
Problems and Solutions
Quotes help make search much faster. Example: "Practice Makes Perfect"
Monday, December 17, 2012
LearnStreet Sample Solution to Lesson 6 Exercise 7
def how_old(first_name, last_name, age)
#your code here
"#{first_name} #{last_name} is #{age} years old."
end
how_old("Jill", "Anderson", "27")
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 ...
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") ```...
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...
Codecademy Learn R Review 10/10
#Sample Solution --- title: "Data Cleaning in R" output: html_notebook --- ```{r message=FALSE, warning=FALSE} # load libra...
Codefights additionWithoutCarrying(param1, param2)
//sample solution function additionWithoutCarrying(param1, param2) { var param1Array = param1.toString().split("").reverse()...
Codecademy: Arbitrary number of arguments
#sample solution m = 5 n = 13 #function goes here def myFun(*x): sum = 0 for index in range(0,len(x)): sum = sum + x[index] r...
No comments:
Post a Comment