diff options
| author | yctct <yctct@yctct.com> | 2026-06-07 08:59:04 +0200 |
|---|---|---|
| committer | yctct <yctct@yctct.com> | 2026-06-07 08:59:04 +0200 |
| commit | 15115b4c52bfda0d1cca9fa1155beecbb873ec35 (patch) | |
| tree | b3f0975e63eb04dcba732a78ce9bd9abda8acf01 /py00/ex2 | |
First commit, add all files
Diffstat (limited to 'py00/ex2')
| -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) |
