Presidential Initiative for Artificial Intelligence and Computing
File Name | Description |
---|---|
01-Area_of_Circle.py | Radius of a circle from the user and compute the area |
02-Pos_Neg_Zero.py | Check if a number is positive, negative or zero |
03-Comp_div.py | Check whether a number is completely divisible by another number |
04-n_nn_nnn.py | Computes the value of (n + nn + nnn) |
05-Days_Between_Date.py | Calculate number of days between two dates |
06-Area_of_Spheere.py | Get the Volume of a Sphere (V=4 / 3 πr 3) |
07-Diff_Between_No_and_17.py | Calculate Difference Between a Given Number and 17 |
08-Is_Added_To_String.py | "Is" is Added to Front of String If Not There Already |
09-N_Copies.py | N Copies of a String |
10-Even_or_Odd.py | Calculate Whether a Given Number is Even or Odd |
11-Test_for_Vowel.py | Test Whether a Passed Letter is a Vowel or Not |
12-Area_of_Triangle.py | Accept The Base And Height Of a Triangle and Compute Area |
13-Check_Int_Equal_Sum_or_Diff.py | Two Given Integer are Equal or Their Sum or Difference is 5 |
14-X_plus_Y_Formula.py | Solve (X + Y) * (X + Y) |
15-Future_Value_of_Rate_of_Interest.py | Future Value from Amount, Rate of Interest & Years |
16-Distance_Between_Two_Points.py | Distance between two Points (X1, Y1) and (X2, Y2) |
17-Feet_to_Centimeter.py | Convert Height (In Feet and Inches) to Centimeters |
18-Pythagorean_Theorem.py | Hypotenuse of a Right Angled Triangle |
19-Convert_Distance_in_Inches.py | Convert the Distance (In Feet) to Inches, Yards, and Miles |
20-All_Units_of_Time_into_Seconds.py | Convert all Units of Time Into Seconds |
21-Seconds_into_All_Units_of_Time.py | Convert Seconds into All Units Of Time |
22-Calculate_Body_Mass_Index.py | Calculate Body Mass Index |
23-Convert_Temperatures.py | Convert Temperatures to and from Celsius, Fahrenheit |
24-Sum_of_First_n_Positive_integers.py | Sum of the First n Positive Integers |
25-Sum_of_the_digits_in_an_Integer.py | Sum of the Digits in an Integer |
26-Int_to_Bin_Oct_and_Hex.py | Convert an Integer to Binary, Octal and Hexadecimal Numbers |
27-Bin_to_Decimal.py | Convert a Binary Number to Decimal Number |
28-Octal_to_Decimal.py | Convert a Octal Number to Decimal Number |
29-Hexadecimal_to_Decimal.py | Convert a Hexadecimal Number to Decimal Number |
30-Occr_of_a_Specific_Chr_in_String.py | Count Number Occurrence of a Specific Character in a String |
31-GCD_using_Euclidean.py | Compute The Greatest Common Divisor (Gcd) Of Two Positive Integers Using Euclidean Algorithm |
32-Least_Common_Multiple.py | Compute The Least Common Multiple of Two Positive Integers |
33-Name_in_Reverse_Order.py | Accept User's First And Last Name And Print Them In Reverse Order With A Space Between Them |
34-Vowels_and_Consonant.py | Input A Text And Count The Occurrences Of Vowels And Consonant |
35-Number_of_Currency_Notes.py | Find The Number Of Notes (Sample Of Notes: 10, 20, 50, 100, 500, And 1000 ) |
36-Palindrome_or_Not.py | Check Whether Given Input Is Palindrome Or Not |
37-Reverse_the_Digits_Palindrome_Repeat.py | Reverse The Digits Of A Given Number And Add It To The Original, If The Sum Is Not A Palindrome Repeat |
38-Fibonacci_Series_Between_0_and_50.py | Get The Fibonacci Series Between 0 To 50 |
39-Multiplication_Table_1_to_10.py | Create The Multiplication Table (From 1 To 10) Of A Number |
40-Calculate_No_of_Digits_and_Letters.py | Accepts A String And Calculate The Number Of Digits And Letters Sample Data |
41-Pattern_using_Nested_Loop_Asterisk.py | Construct Asterisk Pattern, Using a Nested For Loop |
42-Pattern_using_Nested_Loop_Numbers_1.py | Construct Numbers Pattern-1, Using a Nested For Loop |
43-Pattern_using_Nested_Loop_Numbers_2.py | Construct Numbers Pattern-2, Using a Nested For Loop |
Coder: Syed Azam Hassan