❐ Brainly Moderators ✡
❐ Brainly Stars ⭐
❐ Genius ☮
>> write a python program to calculate area of rectangle?
=> ( Needs Quality answer with extra knowledge) !!
Answers
Answered by
140
length = int (input ("Enter the length :"))
breadth = int(input("Enter the breadth :))
area = length * breadth
print ("Area of rectangle :", area)
⠀⠀__________________________
Token :
- Token is the smallest unit in a program. It is meaningful to the compiler or interpreter.
- Token represented by a sequence of characters which acts as a logical unit.
Keywoards :
- Keywords 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 .
- All Python keywords contain lowercase letters only except False, None and True.
Identifiers :
- An identifier is a name used to identify a variable, function, class, module or object.
- 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
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