Increment the number
Write a Python Program of Increment the number.It Consists of two test cases
The below link contains Increment the number - question, explanation and test cases
https://drive.google.com/file/d/1aV-eysW_M5HQQ_u3Lx7EcM3UowScytTr/view?usp=sharing
We need all test cases can be come while code was run
Positive or Negative
Write a Python Program of Positive or Negative.It Consists of two test cases
The below link contains Positive or Negative - question, explanation and test cases
https://drive.google.com/file/d/1XdyNtoVwIHz1PCcmapAAgm2w_X2TFhxV/view?usp=sharing
We need all test cases can be come while code was run
Honor Student
Write a Python Program of Honor Student.It Consists of two test cases
The below link contains Honor Student - question, explanation and test cases
https://drive.google.com/file/d/1lCSgG3og00-_lqFMIQK8hixazR-4InrJ/view?usp=sharing
We need all test cases can be come while code was run
n the given example, N = 3 and the input integers are 2, 3, and 7.So, the output should be 2 x 3 x 7 = 42.
Given an integer number N as input. Write a program to print the right-angled triangular pattern of N rows as shown below.
The first line of input is a positive integer.
For example, if the given number is
5, the output should be
______
| /
| /
| /
| /
|/7,the out put should be
________
| /
| /
| /
| /
| /
| /
|/Given an integer number
N as input. Write a program to print the hollow right-angled triangular pattern of N lines as shown below.Note: There is a space after each asterisk (*) character.
In the given example the hollow right angled triangle of side
4. Therefore, the output should be
*
* *
* *
* * * *5.Therefore, the output should be
*
* *
* *
* *
* * * * *Sum of K powers
Write a program to print the sum of the
The first line of input is an integer
In the given example, the sum of first
5 natural numbers power of 3.The sum should be 13 + 23 + 33 + 43 + 53
Therefore, the output should be
225.
Product of the Given Numbers
Given an integer
The first line of input is a positive integer,
The output should be the product of the given input integers.
In the given example,
N = 3 and the input integers are 2, 3, and 7.So, the output should be 2 x 3 x 7 = 42