learn-co-curriculum / python-p3-loops Goto Github PK
View Code? Open in Web Editor NEWLicense: Other
License: Other
https://learning.flatironschool.com/courses/6274/assignments/236172?module_item_id=554041
The index.js file for this lesson doesn't include a javascript version of the square_integers solution.
No response
No response
https://learning.flatironschool.com/courses/6258/assignments/231345?module_item_id=541450
Hi there! It looks like the solution code was pushed to the main branch. When I cloned this lab to complete it, the solution code was already in the looping.py file and all three tests were passing without any updates on my end. Just letting you know!
No response
No response
https://learning.flatironschool.com/courses/6274/assignments/236172?module_item_id=554041
In the "Instructions" section at the bottom of the page on Canvas:
Write a function happy_new_year() using a while loop that outputs numbers starting at 10 and counting down to 1. After reaching 1, print out "Happy New Year!"
Compared to the Github repository's solution code:
def happy_new_year():
for i in range(10, 0, -1):
print(i)
print("Happy New Year!")
I'm not sure if there happens to also be a way to make this work with a while loop, but the instructions clearly state to use the while loop in this lab. Meanwhile, the solution does not even do that.
Either the instructions need to be changed to reflect what is actually being asked of us, or the solution code should be updated for those who get stuck and look to such a resource for answers/clarifications. Thanks.
https://learning.flatironschool.com/courses/6049/assignments/195246?module_item_id=439014
1. In the first sentence of the Basic Loops in Python section, our sentence reads In JavaScript, there are a few common approaches to for control flow that will allow us to run the same lines of code over and over again.
Having both to
and for
in between approaches
and control
is grammatically incorrect. Either would probably work fine on its own.
2. When discussing ranges, we neglect to mention that the number passed to the range (or the second number passed, if we give it a starting and ending point) isn't included in the range. We also don't discuss the fact that you can give a range a starting and ending point - we just tell students that ranges start at 0.
No response
No response
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.