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}) +```