Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Meet python #3003

Merged
merged 5 commits into from
Jan 13, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ Types of change:
### Changed
- [Html - Link Relative Paths - Change part of PQ as it wasn't worder properly](https://github.com/enkidevs/curriculum/pull/2985)
- [Python - Format Text Paragraphs With Textwrap - Make the fill method more clear](https://github.com/enkidevs/curriculum/pull/2981)
- [Python - Meet Python - Move single-line commands to a single line, update indentation in codeblocks from 4 to 2 spaces](https://github.com/enkidevs/curriculum/pull/3003)
- [Python - Python Tips - Move single-line commands to a single line, update indentation in codeblocks from 4 to 2 spaces](https://github.com/enkidevs/curriculum/pull/3010)
- [Python - Sequential Data Types II - Move single-line commands to a single line, update indentation in codeblocks from 4 to 2 spaces](https://github.com/enkidevs/curriculum/pull/3012)
- [Python - Decorators - Move single-line commands to a single line, update indentation in codeblocks from 4 to 2 spaces](https://github.com/enkidevs/curriculum/pull/3023)
Expand Down
7 changes: 3 additions & 4 deletions python/python-core/meet-python/what-is-python.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,17 +34,16 @@ For example, here's how you might check whether a number is greater than another
my_age = 23
legal_age = 21
if my_age >= legal_age:
print("You can have a beer!")
print("You can have a beer!")
else:
print("Unlucky.")
print("Unlucky.")
```


Python is also a *general-purpose* programming language. That means it can be used for *just about anything*.

You can use it to build websites, web apps and desktop apps. But it's also used in scientific computing, artificial intelligence, and data analysis!


> 💬 Why are you interested in Python?
>
> Leave a comment or view some of the other comments for inspiration before moving on.
Expand All @@ -62,7 +61,7 @@ Let's write some Python code! Do you remember how to print a message?
my_age = 20
legal_age = 18
if my_age >= legal_age:
???("Enjoy the ride!")
???("Enjoy the ride!")
```

- print
Expand Down