Questions and Answers
Problems and Solutions
Quotes help make search much faster. Example: "Practice Makes Perfect"
Friday, November 23, 2012
Codecademy: "Pretty Time"
#sample solution
from datetime import datetime
now = datetime.now()
print "%2s:%2s:%2s" % (now.hour, now.minute, now.second)
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 ...
Codeyear: Deal It Out
//sample solution // Card Constructor function Card(num1,num2) { //properties var suit = num1; var number = num2; //methods ...
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 Sample Solution: Authentication and API Keys
// What's an API key? // A: An alphanumeric string used to identify you to an API // B: An OAuth token // C: An All-Purpose Interne...
Codecademy: Codeyear My first function
//sample solution var myFirstFunction = function(){ console.log("yourName"); }; myFirstFunction();
Codeschool Sample Solution Using find()
$("#vacations").find(".america")
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...
No comments:
Post a Comment