Commit Graph

67 Commits (3f795e4e6de4b068580f7045fcbd42d38413f17b)

Author SHA1 Message Date
Alishaan Ali e4bff66f89 Slight Grammatical Changes on if-elif-else-statements (#21222)
<!-- Please follow this checklist and put an x in each of the boxes, like this: [x]. It will ensure that our team takes your pull request seriously. -->

- [x] I have read [freeCodeCamp's contribution guidelines](https://github.com/freeCodeCamp/freeCodeCamp/blob/master/CONTRIBUTING.md).
- [x] My pull request has a descriptive title (not a vague title like `Update index.md`)
- [x] My pull request targets the `master` branch of freeCodeCamp.
- [x] None of my changes are plagiarized from another source without proper attribution.
- [x] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.

Closes #XXXXX
2018-11-09 11:03:10 -05:00
Jimmy 69ec2781a3 add anaconda logo to python/anaconda/index.md (#21278) 2018-11-09 22:19:14 +09:00
SirDickinson d9e6bc6acc Adding multiline comments using triple apostrophes (#21296) 2018-11-09 21:59:13 +09:00
Antony ekirapa ab5ddf132f Fixed grammar (#21939)
Some sentences were not started with capital letters. Also, where fixed where a sentence should end with a full stop and start with a capital letter.
2018-11-09 03:59:26 -05:00
Roppon Picha 2057069f2c spelling corrections and example addition (#21268) 2018-11-08 08:36:17 -06:00
Roppon Picha e5fa49eb13 added comments. revised redundancy at the start. (#21251)
and minor spelling edits
2018-11-08 11:53:02 +00:00
PMB79 5242bba543 Correction of grammar. (#22146) 2018-11-07 17:40:42 -05:00
PMB79 ac950d8038 Simplification of language to improve readability. (#22107) 2018-11-07 17:22:00 -05:00
Roppon Picha b8c7704cbc spelling corrections (#21236) 2018-11-07 20:04:05 +00:00
Daniel 02185e18df Change the title so it is more visible. (#21789)
* Change the title so it is more visible.

* corrected title syntax

* added main header back in after title syntax fix
2018-11-07 14:58:57 -05:00
Adi 5ee74650f1 Update index.md with has_key() (#21093)
Adding has_key() method to python dictionaries
2018-11-07 18:32:45 +00:00
Jimmy 624f328f29 Fixed some links, and added one to index.md (#20608)
* Fixed some links, and added one to index.md

* cleaned up links and removed referral/campaign query params
2018-11-07 07:56:11 -07:00
Bradley 8c4e965e19 Corrected Spelling. Added emphasis. (#24884)
Line 11 changed "everyon" to "everyone", changed "amongst" to "among".
Line 14 changed "approrpiate" to "appropriate" 
Added some emphasis to line 11 to help get the message across.
2018-11-07 20:20:08 +05:30
Roppon Picha e04f1045d0 added intro sentence. corrected spelling. (#21207) 2018-11-07 07:47:43 -06:00
Dhaval Savalia 6cfc0030ce Add new frameworks and improve structure (#21128) 2018-11-07 07:26:34 -06:00
arjundixit98 12da60565a Add the word "programming" in the article (#25057) 2018-11-07 13:54:17 +05:30
PMB79 d1c5f51792 Minor semantic changes to improve readability. (#22127) 2018-11-06 19:57:47 -05:00
Himanshu Bag d7bb602130 recursion (#19903)
* recursion

i believe that once we know function we should introduce a little bit of recursion techniques which nothing but an advancement of function.

* fixed formatting, grammar, removed unnecessary words/sentences
2018-11-05 13:00:28 -05:00
Paula Milenkova 4b701255b9 Added text on the semicolon use alongside indents (#21592)
In the section introducing and elaborating upon if and elif-statements, I made a small note on how the rest of the structure is just as crucial, particularly, the semicolon. That is because, while this file is on indentation, it also regards the structural requirements of a code and how to be refrain from avoidable errors. The same way you can easily avoid an error by remembering when to properly indent is seen when we remember to always include a semicolon after a condition.
2018-11-05 02:25:23 -05:00
Steven M Peterson 9a11c8b013 Defining the abbreviation (#21021)
Defining the abbreviation, so readers know what "PEP" stands for.
2018-11-04 20:44:35 -06:00
Lam Chi Tak 96cc282c8e Fix Typo (#22000) 2018-11-04 16:58:00 -05:00
Pritom Hazarika 49bf21a3dd Update index.md (#21753)
* Update index.md

implementing rock paper scissors  using if elif

* removed sentence
2018-11-04 13:16:21 -08:00
evachibber 0e8c00bff4 add the comparison (#21391) 2018-11-04 07:03:25 -05:00
SirDickinson 1fd96b1ebc Practical example of a while loop (#21523)
* Practical example of a while loop

Added a practical example of the benefits of a while loop being a condition controlled loop

* Fixed syntax and grammar
2018-11-03 22:22:52 -04:00
Joe Kim 40cc55d040 Added content : defining function inside functions (#20854) 2018-11-04 07:26:33 +05:30
mistymayem aa5e550c3b Cleaned up formatting and added headers (#20103) 2018-11-03 21:10:30 -04:00
Ken Nguyen 00225cd186 Added else and finally clauses example (#20771) 2018-11-03 10:32:20 -07:00
Ken Nguyen 575cf064af Updated code examples to Python 3 (#20765) 2018-11-03 10:20:23 -07:00
kingtheoden 50ecd8ad40 Fix invalid syntax (#25653)
Print now needs brackets to work in python3
2018-11-03 01:22:25 +05:30
MUSSONT 2d33e01f72 PEMDAS reference added.md (#20291)
* Update index.md

* corrected formatting
2018-11-02 07:41:16 -07:00
ManicalEngineer be84c11a30 Update index.md - Added 5th Pro to Pros & Cons (#31498)
* Update index.md

Added 5th pro to pro's & con's

* Update index.md

* Update index.md
2018-11-01 23:27:42 -04:00
Muh Fachrul Razy e6b4de233a Add Comparison Operators (#33117)
Add comparison boolean operators 'and', 'or', and 'not'
2018-11-01 11:15:18 -04:00
Nikita 32b54e8706 Added space (#25869) 2018-11-01 10:05:21 +05:30
Pravin Pratap c056fc18dd Added difference in range() between Python 2 and 3 (#20629)
Added the differences between the working methods of the range() function in Python 2 and 3, including the explanation of the "lazy" method of generating a list of numbers.
2018-10-31 21:11:43 -07:00
Ken Nguyen d6d2578495 Fixed typos and added pipenv method (#20621) 2018-10-31 20:58:02 -07:00
Kyle Cheng ac286c1d2f Readability (#33128) 2018-10-31 23:17:57 -04:00
Shane 522fce544e add return value which might be 0 (#20657)
if the input in abs is 0, then the return can't always be a positive value. 0 is not a positive value
2018-10-31 20:52:54 -05:00
Domingo Moronta 0fd1d30c43 Add decription to data structures (#32377) 2018-10-31 18:28:05 -05:00
murtazasaif ae31e8f007 Updating index.md (#20547)
Describing how to get just values from a dictionary in Python 3.x
2018-10-31 08:00:52 -07:00
Pravin Pratap a1226a38d8 Added virtualenv specifics for Windows (#20540)
Added the specific command to be executed on a Microsoft Windows-based system.
2018-10-30 22:47:27 -05:00
Sayali fa93878e2b change answer to 00000000 (#23880)
In bitwise right shift operation the answer should in 8 bit format i.e 00000000 as both the the operands are in 8 bit format
2018-10-31 08:11:47 +05:30
Pravin Pratap 0a8669fbbe Added another code sample. (#20499)
Added a code sample to demonstrate usage of the zip function with a list of lists.
2018-10-30 18:01:00 -07:00
JawnsenTrain 1602caddc9 Revised the wording and fixed the grammar (#23607) 2018-10-29 15:44:02 -07:00
Maleo223 f00f46d2e5 Grammar/Sentence Structure Changes. (#22617) 2018-10-29 15:32:24 -07:00
Billy 834e178e3f Added Python logo to the article (#19905) 2018-10-29 15:17:56 -04:00
PranavKrishnan1 0f95416c24 Added some text. (#26711)
* Added some text.

Wrote about Guido Van Rossum and added some info on libraries.

* Update index.md
2018-10-29 00:34:49 -06:00
kunal768 560076fb26 Created a file for "Basics of Raspberry Pi Stuffs" (#20150)
* Created a file for "Basics of Raspberry Pi Stuffs" 

The code contains two parts:
First part is simply blinking led (Blink time can be set by time.sleep(x) x for the number of seconds)
Second part is for pwm control for led brightness

* Update RaspberryPiBasics.py

* reformatted two 2 space indention with title corr.
2018-10-28 21:44:26 -07:00
mistymayem 0e77f8c289 Simplified explanation of example (#20262) 2018-10-28 20:30:24 -05:00
Ken Nguyen 75d856fa26 Added PEP8 convention (#20168) 2018-10-27 20:13:15 -07:00
mistymayem 18f55fdfdf Sorted examples by priority (#20201) 2018-10-27 10:01:38 +05:30