Skip to content

Added Python Loops, Functions, and Objects#44

Open
dor-rondel wants to merge 6 commits intobento-io:masterfrom
dor-rondel:master
Open

Added Python Loops, Functions, and Objects#44
dor-rondel wants to merge 6 commits intobento-io:masterfrom
dor-rondel:master

Conversation

@dor-rondel
Copy link

exactly what the title says...

Added python loops, used parenthesis with print so it would be compatible with both versions 2.x and 3.x even though not practiced in 2.x
Added Python Functions. Used parenthesis around print so its compatible with both 2.x and 3.x. Also used str(input()) instead of raw_input() or just input() on itself for same reason.
Added Python objects. Included inheritance. and self argument. used parenthesis for print so it'll be compatible for both python 2.x and 3.x
Added that indentation is required
Added that indentation is mandatory
spelling and spacing fix
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant