About 50 results
Open links in new tab
  1. What does colon equal (:=) in Python mean? - Stack Overflow

    Mar 21, 2023 · In Python this is simply =. To translate this pseudocode into Python you would need to know the data structures being referenced, and a bit more of the algorithm …

  2. What does the "at" (@) symbol do in Python? - Stack Overflow

    96 What does the “at” (@) symbol do in Python? @ symbol is a syntactic sugar python provides to utilize decorator, to paraphrase the question, It's exactly about what does decorator do in …

  3. slice - How slicing in Python works - Stack Overflow

    Python slicing is a computationally fast way to methodically access parts of your data. In my opinion, to be even an intermediate Python programmer, it's one aspect of the language that it …

  4. Using 'or' in an 'if' statement (Python) - Stack Overflow

    Using 'or' in an 'if' statement (Python) [duplicate] Asked 7 years, 9 months ago Modified 18 days ago Viewed 157k times

  5. What does asterisk * mean in Python? - Stack Overflow

    What does asterisk * mean in Python? [duplicate] Asked 16 years, 10 months ago Modified 1 year, 9 months ago Viewed 322k times

  6. How to represent an infinite number in Python? - Stack Overflow

    Oct 15, 2011 · How can I represent an infinite number in python? No matter which number you enter in the program, no number should be greater than this representation of infinity.

  7. syntax - Python integer incrementing with ++ - Stack Overflow

    In Python, you deal with data in an abstract way and seldom increment through indices and such. The closest-in-spirit thing to ++ is the next method of iterators.

  8. python - Why do some functions have underscores - Stack Overflow

    May 24, 2024 · In Python, the use of an underscore in a function name indicates that the function is intended for internal use and should not be called directly by users. It is a convention used …

  9. Behaviour of increment and decrement operators in Python

    Sep 28, 2009 · Python is not C or C++. Different design decisions went into making the language. In particular, Python deliberately does not define assignment operators that can be used in an …

  10. >> operator in Python - Stack Overflow

    Aug 5, 2010 · What does the >> operator do? For example, what does the following operation 10 >> 1 = 5 do?