# Using the question mark (?) for inline conditions

**URL:** <https://discuss.python.org/t/using-the-question-mark-for-inline-conditions/60155>\
**Category:** Python Help\
**Created:** [August 6, 2024, 6:46pm UTC](https://discuss.python.org/t/using-the-question-mark-for-inline-conditions/60155 "2024-08-06T18:46:57Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![effigies](https://sea2.discourse-cdn.com/flex002/user_avatar/discuss.python.org/effigies/32/35835_2.png) [@effigies](https://discuss.python.org/u/effigies)\
**Post date:** [August 6, 2024, 7:11pm UTC](https://discuss.python.org/t/using-the-question-mark-for-inline-conditions/60155/5 "2024-08-06T19:11:47Z")

</div>

> **[PEP 505 – None-aware operators | peps.python.org](https://peps.python.org/pep-0505/)**
>
> Several modern programming languages have so-called “null-coalescing” or “null- aware” operators, including C# 1, Dart 2, Perl, Swift, and PHP (starting in version 7). There are also stage 3 draft proposals for their addition to ECMAScript (a.k.a....

---

_[View the full topic](https://discuss.python.org/t/using-the-question-mark-for-inline-conditions/60155)._
