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.