Python General Programs
Python General Programs
+91-9010607010 [email protected]
Narayana Tech House
24. WAP to Find the Sum of Natural Numbers
25. WAP to Display Powers of 2 Using Anonymous Function
26. WAP to Find ASCII Value of Character
27. WAP to Find HCF or GCD
28. WAP to Find LCM
29. WAP to Find the Factors of a Number
30. WAP to Make a Simple Calculator
31. WAP to Display Calendar
32. WAP to Display Fibonacci Sequence Using Recursion
33. WAP to Find Sum of Natural Numbers Using Recursion
34. WAP to Find Factorial of Number Using Recursion
35. WAP to Convert Decimal to Binary Using Recursion
36. WAP to Add Two Matrices
37. WAP to Transpose a Matrix
38. WAP to Multiply Two Matrices
39. WAP to Check Whether a String is Palindrome or Not
40. WAP to Remove Punctuations From a String
41. WAP to Sort Words in Alphabetic Order
42. WAP to Illustrate Different Set Operations
43. WAP to Count the Number of Each Vowel
44. WAP to Merge Two Dictionaries
45. WAP to Safely Create a Nested Directory
46. WAP to Access Index of a List Using for Loop
47. WAP to Flatten a Nested List
48. WAP to Sort a Dictionary by Value
49. WAP to Check If a List is Empty
50. WAP to Check if a Key is Already Present in a Dictionary
51. WAP to Split a List Into Evenly Sized Chunks
52. WAP to Convert String to Datetime
53. WAP to Get a Substring of a String
54. WAP to Randomly Select an Element From the List
55. WAP to Check If a String Is a Number (Float)
56. WAP to Count the Occurrence of an Item in a List
57. WAP to Delete an Element From a Dictionary
58. WAP to Convert Two Lists Into a Dictionary
59. WAP to Differentiate Between type() and isinstance()
60. WAP to Trim Whitespace From a String
61. WAP to Return Multiple Values From a Function
62. WAP to Iterate Through Two Lists in Parallel
63. WAP to Reverse a Number
64. WAP to Compute the Power of a Number
65. WAP to Count the Number of Digits Present In a Number
66. WAP to Check If Two Strings are Anagram
67. WAP to Capitalize the First Character of a String
68. WAP to Count the Number of Occurrence of a Character in String
69. WAP to Remove Duplicate Element From a List
+91-9010607010 [email protected]
Narayana Tech House
70. WAP to check if the given number is a Disarium Number
71. WAP to print all disarium numbers between 1 to 1000
72. WAP to check if the given number is Happy Number
73. WAP to print all happy numbers between 1 and 1000
74. WAP to determine whether the given number is a Harshad Number
75. WAP to print all Harshad Numbers between 1 to 1000
76. WAP to determine whether the given number is a Pronic Number
77. WAP to print all pronic numbers between 1 and 1000
78. WAP to find the frequency of each element in the array
79. WAP to print the duplicate elements of an array
80. WAP to print the elements of an array in reverse order
81. WAP to print the elements of an array present on even position
82. WAP to print the elements of an array present on odd position
83. WAP to print the largest element in an array
84. WAP to print the smallest element in an array
85. WAP to sort the elements of an array in ascending order
86. WAP to sort the elements of an array in descending order
87. WAP to Print Numbers in a Range Without using Loops
88. WAP to Check If Two Numbers are Amicable Numbers or Not
89. WAP to Find Whether a Number is a Power of Two
90. WAP to Check if a Number is a Strong Number
91. Write a python pattern program to print right triangle pyramid of Stars
92. Write a python pattern program to print downward half-Pyramid Pattern of Star
93. Write a python pattern program to print downward full Pyramid Pattern of star
94. Write a python pattern program to print upward half-Pyramid Pattern of Star
95. Write a python pattern program to print upward full Pyramid Pattern of star
96. Write a python pattern program to print right down mirror star Pattern
97. Write a python pattern program to print equilateral triangle pattern of star
98. Write a python pattern program to print print two pyramids of stars
99. Write a python pattern program to print sandglass pattern of star
100.Write a python pattern program to print letter of the word
+91-9010607010 [email protected]