diff options
Diffstat (limited to 'py00/ex2/ft_plot_area.py')
| -rw-r--r-- | py00/ex2/ft_plot_area.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/py00/ex2/ft_plot_area.py b/py00/ex2/ft_plot_area.py new file mode 100644 index 0000000..1ea6d1a --- /dev/null +++ b/py00/ex2/ft_plot_area.py @@ -0,0 +1,6 @@ +def ft_plot_area(): + length = input("Enter length: ") + length = int(length) + width = input("Enter width: ") + width = int(width) + print("Plot area: ", length * width) |
