Python Forum

Full Version: Need help! Please! Urgent!
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
The task is:

Write a function element_sum(integer) that accepts one argument (positive integer)
and returns a sum of numbers from 0 to the defined number

And the other one:

Write a function not_e(string) that will return a string consisting of every third letter of the input string, except the case it is “e”, in that case symbol will be omitted in the output.

Thank you very much!
I am making a school test at the moment, and one hour is left=)
What have you tried? We are glad to help, but we are not here to do your homework/test for you.
Please, post your code (in code tags) and ask specific questions. Don't forget to include the full traceback (in error tags) if you get one.