mirror of
https://github.com/DavidGailleton/42-Piscine_Python.git
synced 2026-01-27 01:01:59 +00:00
piscine 00
This commit is contained in:
6
00/ex1/ft_plot_area.py
Normal file
6
00/ex1/ft_plot_area.py
Normal file
@@ -0,0 +1,6 @@
|
||||
def ft_plot_area():
|
||||
print("Enter length:", end=" ")
|
||||
len = int(input())
|
||||
print("Enter width:", end=" ")
|
||||
width = int(input())
|
||||
print("Plot area: ", len * width)
|
||||
Reference in New Issue
Block a user