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. operators - Python != operation vs "is not" - Stack Overflow

    In a comment on this question, I saw a statement that recommended using result is not None vs result != None What is the difference? And why might one be recommended over the other?

  4. Newest 'python' Questions - Stack Overflow

    3 days ago · Python is an interpreted, interactive, object-oriented (using classes), dynamic and strongly typed programming language that is used for a wide range of applications.

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

    python if-statement conditional-statements boolean boolean-expression edited Oct 5, 2025 at 16:26 Peter Mortensen 31.2k 22 110 134

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

    What does asterisk * mean in Python? [duplicate] Asked 17 years, 1 month ago Modified 2 years ago Viewed 325k times

  7. Does Python have a ternary conditional operator? - Stack Overflow

    Dec 27, 2008 · Python is a syntax-rich language with lots of idiomatic tricks that aren't immediately apparent to the dabbler. But the more you learn and understand the mechanics of …

  8. python - Why do some functions have underscores "__" before …

    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. What is the purpose of the single underscore "_" variable in Python?

    May 5, 2011 · As far as the Python languages is concerned, _ generally has no special meaning. It is a valid identifier just like _foo, foo_ or _f_o_o_. The only exception are match statements …

  10. python - How do I pad a string with zeros? - Stack Overflow

    How do I pad a numeric string with zeroes to the left, so that the string has a specific length?