From 07c0550615380933c2c514105a41f011b25b4ceb Mon Sep 17 00:00:00 2001 From: ziad1320 <110135758+ziad1320@users.noreply.github.com> Date: Sun, 3 Aug 2025 19:09:07 +0300 Subject: [PATCH] solved the problem using python --- ziad_ramadan.md | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 ziad_ramadan.md diff --git a/ziad_ramadan.md b/ziad_ramadan.md new file mode 100644 index 0000000..90c463f --- /dev/null +++ b/ziad_ramadan.md @@ -0,0 +1,7 @@ +### problrm solution with python + +```python +number = int(input('enter a number between 0 and 10e9: ')) +sum = (number * (number + 1))/2 +print(f'the sum of the entered number and it\'s previous numbers is: {sum}) +```