Added input statements
This commit is contained in:
parent
26e1253c0d
commit
e5a2871292
1 changed files with 7 additions and 0 deletions
7
homework06/git-practice/rectangle01.py
Normal file
7
homework06/git-practice/rectangle01.py
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
|
||||
length = float(input("Enter a value for length "))
|
||||
width = float(input("Enter a value for width "))
|
||||
|
||||
areaOfRectangle = length * width
|
||||
|
||||
print("Area = ",areaOfRectangle)
|
||||
Loading…
Add table
Add a link
Reference in a new issue