Search Results
| Search type | Search syntax |
|---|---|
| Tags | [tag] |
| Exact | "words here" |
| Author | user:1234 user:me (yours) |
| Score | score:3 (3+) score:0 (none) |
| Answers | answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
| Views | views:250 |
| Code | code:"if (foo != bar)" |
| Sections | title:apples body:"apples oranges" |
| URL | url:"*.example.com" |
| Saves | in:saves |
| Status | closed:yes duplicate:no migrated:no wiki:no |
| Types | is:question is:answer |
| Exclude | -[tag] -apples |
| For more details on advanced search visit our help page | |
Results tagged with python
Search options not deleted user 164798
Python is an interpreted, general-purpose high-level programming language whose design philosophy emphasizes code readability. Use the python tag for all Python related questions. If you believe your question may be even more specific, you can include a version specific tag such as python-3.x.
6 votes
Accepted
Find the closest number in a sorted list to a given target number
Conventions The Style guide to follow in Python is PEP8. If you do so, your code blends right into the python community and it is immediately easier to follow. …
4 votes
Accepted
Implementing a Trie in Python
for with range and len This is one of the most common things to be seen in python code to someone that isn't very familiar to python, however it's not Pythonic and almost always the wrong way to do it … Feel free to take a look at the related PEP, PEP 8 -- Style Guide for Python Code …
5 votes
Caesar Cipher in Python 3
In python you don't need them. …
6 votes
Accepted
A mine sweeping game for the terminal
In what regards naming conventions I'd say the code is very good, following most of PEP8 guides. The code is also documented which is a big plus. Pythonic There are some things you can do to make th …