Commit Graph

93 Commits

Author SHA1 Message Date
a6354030a4 Incorrect punctuation on "eg" (#22961)
Fixed periods on "eg" on line 24
(my first pull LOL).
2018-11-22 23:09:01 -05:00
ff0ab6e4f6 Update index.md (#22846) 2018-11-22 23:08:20 -05:00
8ca6a28a9b Commenting Code Minor Grammatical Changes (#21175) 2018-11-21 08:58:10 -05:00
df0196f6e3 fixed some minor mistakes like vanished colon and etc. (#22984) 2018-11-20 18:59:04 -05:00
74a4b1175e added general syntax of python function definition (#22670)
* added general syntax of python function definition

* Cleanup
2018-11-20 18:38:56 -05:00
368cabee95 updated example codeblocks (#22292)
Last Codeblock wasn't set to Python.
Wrapped the Ellipses in Comments to get valid Python inside Codeblocks.
2018-11-19 07:23:20 -06:00
6ab303b1fc Added another example which returns False (#22794) 2018-11-19 03:36:27 -05:00
162d42d50a Changed the size of "Cons" in index.md (#22752)
Removed the difference in font size between "Pros" and "Cons"
2018-11-19 02:55:16 -05:00
c861c03f9d add profiling reference links for python (#22276)
python profiling to identify potential performance bottlenecks
2018-11-18 19:55:11 -07:00
8df84d58e0 Add a section on Introduction to lists (#22233) 2018-11-18 19:19:06 -07:00
abe821bd8e Clarification of the numbers that can be used. (#22174)
* Clarification of the numbers that can be used.

Article previously only explicitly referenced the use of floating point numbers. Have clarified that it is possible to use either an integer or a float.

* Fixed formatting and typos
2018-11-18 18:34:16 -05:00
575e18c090 Added the text 'from x import y as z' (#21639)
* Added the text 'from x import y as z' 

it can be used to rename the module according to our convenience

* Applied formatting and fixed grammar
2018-11-18 18:23:42 -05:00
nyp
a69419c8a1 formatting changes (#24496) 2018-11-18 20:36:10 +05:30
ab4b7ca3cc Added te basic info of what is a list (#24034)
* Added te basic info of what is a list

A basic introduction of what a list has been added. Based upon the python docs link that is included in the guide.

* fix: added title
2018-11-18 20:08:53 +05:30
197b9dc693 Remove Rocket Image/ Fix Link (#22271)
Removed rocket image or fix the link to properly display the image
2018-11-18 07:17:24 -06:00
5db5f1df73 Minor semantic changes to improve readability. (#22135) 2018-11-17 20:59:51 -05:00
8f21b7a33c added wxpython and pyqt (#21701) 2018-11-17 20:03:54 +09:00
cba5b6821e Fixed Hello World (#22172)
Fixed 'Hello world' to the original 'Hello, World' command for historical accuracy.
2018-11-17 03:40:59 -05:00
9313e09c45 Fixed style typo in python guidelines (#27857)
* Fixed style typo in python guidelines

The python marker was below the ''' marker, moved it up in 2 examples.

* added output to python guide

Added an output from a conditional block and added the python tag to a code block
2018-11-15 15:22:07 +05:30
cf44c7246d Added steps to check keywords in python (#21511)
* Added steps to check keywords in python

>>> import keyword
>>> print (keyword.kwlist)
['False', 'None', 'True', 'and', 'as', 'assert', 'break', 'class', 'continue', 'def', 'del', 'elif', 'else', 'except', 'finally', 'for', 'from', 'global', 'if', 'import', 'in', 'is', 'lambda', 'nonlocal', 'not', 'or', 'pass', 'raise', 'return', 'try', 'while', 'with', 'yield']
>>>

* Format the text properly
2018-11-14 18:14:24 -07:00
a0aa7ddbe5 Add link and fix typos. (#23683)
Added missing spaces after periods. Changed "Pyhthon" to "Python". Added a link that leads to more information about lists in Python.
2018-11-14 20:28:30 +05:30
38862b6f9c Add text that elaborates on 'is' with '=' (#21537)
I added text that explicitly states the 'is' is signified with '=' since that was not already written and can help beginners distinguish better.
2018-11-14 07:38:40 -06:00
f478488859 Updated index.md (#22529) 2018-11-13 21:06:54 -05:00
e20926ed94 Update index.md (#21446)
Added an a to a sentence where one was needed
2018-11-13 23:18:13 +00:00
34abc69709 Added more pros and cons and fixed grammar
Added more pros and cons and fixed grammar
2018-11-12 19:43:05 +09:00
cfc7dd09ca Grammar changes (#21509)
Grammar changes

Changes to some of the grammar in the description
2018-11-11 12:15:33 +07:00
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
69ec2781a3 add anaconda logo to python/anaconda/index.md (#21278) 2018-11-09 22:19:14 +09:00
d9e6bc6acc Adding multiline comments using triple apostrophes (#21296) 2018-11-09 21:59:13 +09:00
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
2057069f2c spelling corrections and example addition (#21268) 2018-11-08 08:36:17 -06:00
e5fa49eb13 added comments. revised redundancy at the start. (#21251)
and minor spelling edits
2018-11-08 11:53:02 +00:00
5242bba543 Correction of grammar. (#22146) 2018-11-07 17:40:42 -05:00
ac950d8038 Simplification of language to improve readability. (#22107) 2018-11-07 17:22:00 -05:00
b8c7704cbc spelling corrections (#21236) 2018-11-07 20:04:05 +00:00
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
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
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
e04f1045d0 added intro sentence. corrected spelling. (#21207) 2018-11-07 07:47:43 -06:00
6cfc0030ce Add new frameworks and improve structure (#21128) 2018-11-07 07:26:34 -06:00
12da60565a Add the word "programming" in the article (#25057) 2018-11-07 13:54:17 +05:30
d1c5f51792 Minor semantic changes to improve readability. (#22127) 2018-11-06 19:57:47 -05:00
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
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
9a11c8b013 Defining the abbreviation (#21021)
Defining the abbreviation, so readers know what "PEP" stands for.
2018-11-04 20:44:35 -06:00
96cc282c8e Fix Typo (#22000) 2018-11-04 16:58:00 -05:00
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
0e8c00bff4 add the comparison (#21391) 2018-11-04 07:03:25 -05:00
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