Lesson 5 of 34

Operators ಬಳಸಿ ಗಣಿತ

7 min 20 XP

Python ಒಂದು ಶಕ್ತಿಶಾಲಿ ಕ್ಯಾಲ್ಕುಲೇಟರ್. / ದಶಮಾಂಶ ಭಾಗಾಕಾರ, // ಪೂರ್ಣಾಂಕ ಭಾಗಾಕಾರ, % ಶೇಷ, ** ಘಾತ (power).

Example: edit me and press Run

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

ಗಣಿತದಂತೆಯೇ * ಮತ್ತು / ಅನ್ನು + ಮತ್ತು - ಗಿಂತ ಮೊದಲು ಲೆಕ್ಕ ಹಾಕಲಾಗುತ್ತದೆ. Brackets ( ) ಎಲ್ಲಕ್ಕಿಂತ ಮೊದಲು.

Example: edit me and press Run

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

ಸಂಖ್ಯೆ ಸಮವೇ ಎಂದು ನೋಡಲು: n % 2 ರ ಮೌಲ್ಯ 0 ಆಗಿದ್ದರೆ ಅದು ಸಮ ಸಂಖ್ಯೆ.

Challenge

+20 XP

length = 12 ಮತ್ತು width = 5 ಇರುವ ಆಯತದ ವಿಸ್ತೀರ್ಣ ಮತ್ತು ನಂತರ ಸುತ್ತಳತೆಯನ್ನು ಬೇರೆ ಬೇರೆ ಸಾಲುಗಳಲ್ಲಿ print ಮಾಡಿ.

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