Physics, asked by Abhi4you, 3 days ago

❐ Brainly Moderators ✡
❐ Brainly Stars ⭐
❐ Genius ☮

\underline{\huge{\pmb{\tt{\orange{Question\;:}}}}}


>> write a python program to calculate area of rectangle?​

=> ( Needs Quality answer with extra knowledge) !!​

Answers

Answered by BrainlyEmpire
140

\underline{\maltese{\pmb{\sf{\red{Program \;to \;Calculate \;Area \;of\; Rectangle\;:}}}}}

\;\;

length = int (input ("Enter the length :"))

breadth = int(input("Enter the breadth :))

area = length * breadth

print ("Area of rectangle :", area)

⠀⠀__________________________

\;\;

\qquad\qquad\boxed{\underline{\underline{\green{\bigstar \:\bf\:More\:to\:know\:\bigstar}}}} \\ \\

\;\;

\;\;\;\;\;\;\red\bigstarToken :

  • :\mapstoToken is the smallest unit in a program. It is meaningful to the compiler or interpreter.
  • :\mapstoToken represented by a sequence of characters which acts as a logical unit.

\;\;

\;\;\;\;\;\;\purple\bigstar Keywoards :

  • \twoheadrightarrowKeywords are also known as reserved words that have some special meaning T reserved words may not be used as constant or variable or any other identifier names .
  • \twoheadrightarrow All Python keywords contain lowercase letters only except False, None and True.

\;\;

\;\;\;\;\;\;\blue\bigstar Identifiers :

  • :\mapstoAn identifier is a name used to identify a variable, function, class, module or object.
  • :\mapsto An identifier starts with a letter A to Z or a to z or an underscore followed by zero or more letters, underscore and digits (0 to 9).

\;\;

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Answered by AdvancedQuestioner
1

Required Program :-

length = int (input ("Enter the length :"))

breadth = int(input("Entler the breadth :))

area = length * breadth

print ("Area of rectangle :",area)

_

Similar questions