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.