Precourse | repo contains the instruction material | Learning library
kandi X-RAY | Precourse Summary
kandi X-RAY | Precourse Summary
This repo contains the instruction material and assignments for Lambda School's free Web Dev 101 mini-bootcamp. Lambda School's free Web Dev 101 mini-bootcamp is a three week long course that covers the fundamentals of programming and web development. Class is held at 5pm Pacific Time Monday through Thursday at the dates listed below. This class is repeated and given live every month. To sign up for the program or to learn more about Lambda School's intensive Computer Science program, visit To receive help with the homework you can join our Slack team. After registering for the mini-bootcamp on our website you will be sent an invitation to join Slack. We have TAs available to answer questions about the homework.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of Precourse
Precourse Key Features
Precourse Examples and Code Snippets
Community Discussions
Trending Discussions on Precourse
QUESTION
I am trying to do a precourse assignment for lambda School and Loops are giving me the worst headache. I have a 2d list of names with heights and weights. heights were givin in cm so i used a loop to convert it to m. Then to calculate the BMI, I tried running a l;oop but it keeps giving me only the last one. Let me type the code so it makes more sense.
...ANSWER
Answered 2020-Aug-16 at 17:48Welcome to StackOverflow.
Your print()
is out of your loop, just change your code to this and place your print()
in your loop:
QUESTION
I am working through a precourse challenge and I've tried a few different things to try and get this to work. But I am at a loss as to what I am doing wrong. This is the challenge:
Initialize a variable addThis to 0 and a variable sum to 0. Use a while loop to repeat a code block as long as addThis is less than 10. In the code block, add the value of addThis to sum, then increment addThis by 1. After the while loop runs, the value of sum should be the sum of the numbers 0 through 9.
The Challenge Error: expected 0 to equal 45
And my code:
...ANSWER
Answered 2020-Jun-15 at 20:44let addThis = 0;
let sum = 0;
while (addThis < 10) {
sum += addThis
addThis++
}
console.log(sum);
QUESTION
As part of the precourse for a coding bootcamp, we have to create a simpler version of the underscore JS library. I am struggling with creating the _.first function, which:
- Returns an array with the first n elements of an array.
- If n is not provided it returns an array with just the first element.
This is what I've got so far:
...ANSWER
Answered 2020-Mar-15 at 12:10The arguments
object is just that, a variable defined implicitly on each function scope that acts like an array. Has a length
property and you can access the elements by using number properties like a normal array:
QUESTION
I've written a custom tag and it is working. No problem there. However, while the template tag returns the model object that I need, I'm not able to go one step further and get an attribute of that object. As shown below:
models.py
...ANSWER
Answered 2019-Jan-06 at 11:16It's because no attribute skill
is in your ExamScore
model. So when retrieved tha ExamScore
object in your template tag, it tries to access to skill
attribute which doesn't exist on your table.
QUESTION
I recently finished a coding test which requires me to make sure all of my code is passing using node (npm test). Out of nine tests, I fail them all, even though I have tested my code with success in my own environment. For each problem, the test says my code returns "undefined," which I think might be more of a git/github confusion problem than incorrect code. I took a whole course on git/github and still can't find the problem!
I have done all the steps outlined in the test directions (up to step 5 because I cannot pass their tests!): https://github.com/LambdaSchool/Lambda-Challenge
Here is my code:
...ANSWER
Answered 2018-Jun-12 at 20:41After you made your edits, did you save your code? If you, type the following git commit -a -m 'My changes to the code'. Then git push.
QUESTION
My program crashes every time when I try to free one of the strings in my struct, here are the functions I call and the struct:
...ANSWER
Answered 2017-Nov-29 at 18:12Course temp= malloc(sizeof(Course));
QUESTION
I'm trying to debug my script, I'm new at bash and I can't understant the error i'd tryed to change it several times, i marked line 60 the error: error: ./scriptdemo.txt: line 60: results_array: bad array subscript
...ANSWER
Answered 2017-Nov-10 at 22:17The main problem is, that you have defined results_array
as a normal variable, but use it as if it was an array. In bash arrays have separate declaration syntax.
Use this to declare an empty array:
QUESTION
I cloned a remote repo called 'X' on my local disk. Then I created 2 new folders inside my local repo X (Precourse and Week1). In the 1st folder (Precourse), I copied all the existing files+folders inside local repo X and in the 2nd folder(Week1), I put some new files of my own.
Some of the commands i used after I had created the new folders and copied stuffs inside them were:
git add *
git commit -m "copying all stuffs in single folder"
git push origin master
The issue was that although the 1st folder(Precourse) is pushed in remote repo along with all the old files+folders inside. However outside thsi folder, the old stuffs still exist (they don't exits in local repo). Also the Week1 folder (newly created) is not pushed well in remote repo and is greyed out. I am unsure what's happening.
...ANSWER
Answered 2017-Jan-17 at 08:59When you said that you've copied all the existing file + folders, i guess you moved it to the Precourse folder. In that case, you should have used :
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install Precourse
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page