I hereby claim:
- I am guillermohernandez on github.
- I am memohernandez (https://keybase.io/memohernandez) on keybase.
- I have a public key ASC3cGv_RT825U-r0dSZXWHhkimc-jTBVOePPINvHmXfnQo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
Thanks for your interest in working with us! To apply:
Exercise Nº 1 Using a nested for loop, print the string "hello" 12 times. Use different combinations of numbers. For example, the outer loop would loop 6 times and the inner one 2 times (6*2 = 12). Etc.
Exercise Nº 2 Create a nested for loop to produce the following string:
*
**
***
//product.js | |
function product(sku, name, description, price) { | |
this.sku = sku; | |
this.name = name; | |
this.description = description; | |
this.price = price; | |
} | |
//store.js shorted to 3 products | |
function store() { |
first_num = raw_input("Please input first number: ") | |
#line 1 asks for input, much like prompt() in javascript and saves it to a variable first_num | |
sec_num = raw_input("Please input second number: ") | |
#same as above but saves it in the sec_num variable | |
answer = int(first_num) + int(sec_num) | |
#so int is like javascript's parseInt() and turns the input into a whole number. | |
#first_num and sec_num get saved in the answer variable |