Lesson 7 of 34
तुलना: True की False
6 min 20 XP
दोन values ची तुलना केली की Python True किंवा False असे उत्तर देते. यांना Booleans म्हणतात.
Example: edit me and press Run
Output Loading Python (first time takes a few seconds)
Press Run to see the result here.= value साठवतो (assign). == विचारतो “हे समान आहेत का?” (compare). यांची गल्लत करू नका!
Strings ची सुद्धा तुलना करता येते, पण capital letters महत्त्वाचे: "Chennai" आणि "chennai" समान नाहीत.
Example: edit me and press Run
Output Loading Python (first time takes a few seconds)
Press Run to see the result here.