Questions and Answers
Problems and Solutions
Quotes help make search much faster. Example: "Practice Makes Perfect"
Wednesday, November 28, 2012
Codecademy: Control Flow and Looping
#sample solution
A = [0,1,2,3,4,5,6,7,8,9,10,11,12,13]
for number in A:
if number % 2 == 0:
print number
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 ...
Codecademy Learn Phaser: Basics Draw A Background Image 4/12
//Sample Solution function preload() { // Load in the background image here! this.load.image('sky','https://s3.amazonaws.c...
Array Element Tally
Say you had an election, and you needed to tally the votes for each candidate. All you need to do is enter the name of each candidate o...
Codecademy Learn Phaser: Basics Draw A Sprite 3/12
//Sample Solution function preload() { // Load in the sprite here! this.load.image('codey','https://s3.amazonaws.com/codeca...
Codecademy: Codeyear My first function
//sample solution var myFirstFunction = function(){ console.log("yourName"); }; myFirstFunction();
Codecademy Learn Phaser: Basics Start Making A Scene 6/12
//Sample Solution // Create a create() function here: function create() { this.add.text(100,170,"Spaze Invaydurs"); } cons...
Scrolling Text Using Javascript
This is the scrolling text . Code for the scrolling effect is written below: <style type="text/css"> #scro...
How to implement an image Carousel using Twitter Bootstrap?
<!-- Sample Code for implementing Carousel --> <div id="myCarousel" class="carousel slide"> <ol ...
Codefights additionWithoutCarrying(param1, param2)
//sample solution function additionWithoutCarrying(param1, param2) { var param1Array = param1.toString().split("").reverse()...
Codecademy Mode in R Mode with DescTools 3/4
#Sample Solution --- title: "Mode in R" output: html_notebook --- ```{r message=FALSE, warning=FALSE} # import libraries li...
No comments:
Post a Comment