Rajesh SinghApr 1, 20201 minIf else Statement in Python with Examplesif statements is execute a certain block of Python code when a particular condition is true. Whenever If..else statements are execute...
Rajesh SinghApr 1, 20201 min If statement in Python with ExampleIf statements are control flow statements and it is run a particular code only when a condition is satisfied. It means that to print a...
Rajesh SinghMar 31, 20201 minPython Program for Cube of a Number using FunctionsProgram: def cube(a): print("The Cube of given number", a*a*a) b = int(input(" Enter any number : ")) cube(b) Output: Please Enter any...
Rajesh SinghMar 31, 20201 minPython Program to add Two and Three numbersPython Program to add two numbers Program: num1 = int (input(" Please Enter the First Number: ")) num2 = int (input(" Please Enter the...