Assignment – 11

$ 20.99
Category:

Description

loops
1. Write a python script to calculate sum of first N natural numbers
2. Write a python script to calculate sum of squares of first N natural numbers
3. Write a python script to calculate sum of cubes of first N natural numbers
4. Write a python script to calculate sum of first N odd natural numbers
5. Write a python script to calculate sum of first N even natural numbers
6. Write a python script to calculate factorial of a given number
7. Write a python script to count digits in a given number
8. Write a python script to calculate sum of digits of a given number
9. Write a python script to print binary equivalent of a given decimal number. (do not use bin() method)
10. Write a python script to print the octal equivalent of a given decimal number. (do not use oct() method)

Reviews

There are no reviews yet.

Be the first to review “Assignment – 11”

Your email address will not be published. Required fields are marked *