Questions and Answers
Problems and Solutions
Quotes help make search much faster. Example: "Practice Makes Perfect"
Thursday, January 17, 2013
Codecademy Sample Solution: Creating a Proc
ages = [23, 101, 7, 104, 11, 94, 100, 121, 101, 70, 44]
# Add your code below!
under_100 = Proc.new {|num| num < 100}
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
Codeyear: Deal It Out
//sample solution // Card Constructor function Card(num1,num2) { //properties var suit = num1; var number = num2; //methods ...
Codeschool Cliffs of Value Modulus Sample Solution
Find an expression using two values and the modulus operator that results as 4 Answer: 32%7
Codecademy Sample Solution: Codeyear Eliminating Unnecessary HTML
<style> p { margin: 0px; padding-left: 10%; padding-right: 10%; text-align: justify; border-style: dashed;...
(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 ...
Codecademy: Codeyear Conditionals
//sample solution var gender = "female"; if (gender === "female") { result = true; } else { result = false; ...
#Codeschool Backbone.js Sample Solution to Define Render
var AppointmentView = Backbone.View.extend({ render: function() { var html = '<li>' + this.model.get('title')...
Codecademy: Stocking Out
#sample solution groceries = ["banana", "orange","apple"] stock = {"banana": 6, "appl...
Codecademy - Sun, Earth, and Code: Spin please
// Sample solution to style.css html, body { /* The universe takes up all available space */ width: 100%; height: 100%; ...
Ideal current source resistance
Question: How much internal resistance does an ideal current source have? Answer: An ideal current source has infinite resistance.
FreeCodeCamp Spinal Tap Case Sample Solution
function spinalCase(str) { var str2 = str.replace(/([a-z](?=[A-Z]))/g,'$1 '); var newStr = str2.replace(/\s|\x5F/g,"-...
No comments:
Post a Comment