Lesson 10 of 34

and, or, not: Conditions ಸೇರಿಸುವುದು

8 min 25 XP

and: ಎರಡೂ ಬದಿ True ಆದರೆ ಮಾತ್ರ True. or: ಕನಿಷ್ಠ ಒಂದು ಬದಿ True ಆದರೆ True. not: True ಅನ್ನು False ಆಗಿ, False ಅನ್ನು True ಆಗಿ ಬದಲಿಸುತ್ತದೆ.

Example: edit me and press Run

Output Loading Python (first time takes a few seconds)
Press Run to see the result here.

ನಿಜವಾದ ಉದಾಹರಣೆ: ಕೆಲಸಕ್ಕೆ ಅರ್ಹರಾಗಲು degree ಮತ್ತು ಕನಿಷ್ಠ 60% marks ಎರಡೂ ಬೇಕು.

Example: edit me and press Run

Output Loading Python (first time takes a few seconds)
Press Run to see the result here.

Range ಪರಿಶೀಲಿಸಲು Python ನಲ್ಲಿ shortcut ಇದೆ: 18 <= age <= 60

Challenge

+25 XP

input() ಮೂಲಕ ಒಂದು ವರ್ಷ ಓದಿ. Leap year ಆದರೆ Yes, ಇಲ್ಲದಿದ್ದರೆ No print ಮಾಡಿ. ನಿಯಮ: 4 ರಿಂದ ಭಾಗವಾಗಿ 100 ರಿಂದ ಆಗಬಾರದು, ಅಥವಾ 400 ರಿಂದ ಭಾಗವಾಗಬೇಕು.

Output Loading Python (first time takes a few seconds)
Press Run to see the result here.