Nested if statement
ڕستەی ifـی ناوەکی
Proposed Kurdish term — under reviewزاراوەی پێشنیارکراو — لە ژێر پێداچوونەوەدایە Definitionپێناسە
An written inside the body of another if or else. The inner test runs only after the outer one has chosen its branch; when all the tests are about one value, an elif chain is often clearer.
کە لەناو جەستەی if یان elseـێکی تردا نووسراوە. پشکنینە ناوەکییەکە تەنها دوای ئەوە جێبەجێ دەبێت کە پشکنینە دەرەکییەکە ڕێگاکەی هەڵبژارد؛ کاتێک هەموو پشکنینەکان دەربارەی یەک نرخن، زنجیرەیەکی elif زۆرجار ڕوونترە.
Exampleنموونە
The temperature is checked only when it is raining.
پلەی گەرمی تەنها کاتێک دەپشکنرێت کە باران دەبارێت.
is_raining = True
temp = 30
if is_raining:
if temp > 20:
print("Wear something light.")
else:
print("Wear warm clothes.")
else:
print("It's a nice day!")Other Kurdish renderings in useوەرگێڕانە کوردییەکانی تر
ڕستەکانی ifـی ناوەکی، ڕستەیەکی ifـی ناوەکی
Note on the Kurdish termتێبینی دەربارەی زاراوە کوردییەکە
Same pattern as the registry's if-statement (ڕستەی if) and nested-loop (خولی ناوەکی). Proposed.
Related termsزاراوە پەیوەندیدارەکان
Videosڤیدیۆکان
In Kurdish: an if statement inside another if statement (nested if) in Python.
بە کوردی: لەناو تردا () لە .