Write a Python program to enter length and breadth of a rectangle and find its perimeter.
Write a Python program to enter length and breadth of a rectangle and find its perimeter.
Solution :-Â
StaticÂ
a = 10
b = 20
c = a+b
print("The sum of 2 number is :- ",c)
Solution
DYNAMIC
a = int(input("Enter the First number :- "))
b = int(input("Enter the Second number :- "))
c = a+b
print("The sum of 2 number is :- ",c)
Solution