How to calculate area of square using python program

preview_player
Показать описание
Code:-
# Write a python program to calculate area of square.
s=float(input("Enter the value of side :"))
a=s*s
print("Area of square is =",a)

Output:-
Enter the value of side :4
Area of square is = 16.0
Рекомендации по теме
Комментарии
Автор

Sir you teach very well why so you leave youtube

SohamSharmaRobloxgamer
Автор

Here the output has to come like(area of the square)


Def area(side of square);

I can t get the coding please help me sir

surisettyteja
visit shbcf.ru