AniketTheProgrammer
Home
(current)
Courses
Projects
YT Projects
Coding Questions
Notification
Contact Us
Log In
All Topics
C Language
C++ Language
Greedy Algorithm
Hashing
Java Language
Linked List
Python
Queue
Stack
String
Sorting
Searching
Recursion
Backtracking
Dynamic Programming
Graph Theory
Bit Manipulation
Mathematics
Sliding Window Technique
Divide And Conquer
Matrix Manipulation
Two Pointers
Binary Tree
Topic: Python-language-question / Level: Beginner
151. Write a program to check if a number is a perfect cube.
152. Write a program to convert a decimal number to hexadecimal.
153. Write a program to calculate the area of a rectangle given its length and width.
154. Write a program to find the first repeated character in a string.
155. Write a program to count the number of vowels and consonants in a string.
156. Write a program to find the total number of elements in a nested list.
157. Write a program to find the sum of the cubes of the first n natural numbers.
158. Write a program to calculate the sum of all multiples of a given number up to n.
159. Write a program to check if a number is a triangular number.
160. Write a program to find the longest word that can be formed by rearranging the letters of a string.
161. Write a program to check if a list is a palindrome.
162. Write a program to find the total number of punctuation marks in a string.
163. Write a program to find the common elements between three lists.
164. Write a program to check if a number is a pentagonal number.
165. Write a program to count the total number of spaces in a string.
166. Write a program to find the maximum number of consecutive 1's in a binary representation of a number.
167. Write a program to calculate the product of all odd digits in a number.
168. Write a program to find the total number of uppercase letters in a text file.
169. Write a program to check if a list is a subset of another list.
170. Write a program to generate a random sentence.
171. Write a program to find the sum of the first n squares of odd numbers.
172. Write a program to check if a number is a Smith number.
173. Write a program to find the total number of special characters in a string.
174. Write a program to find the Kth largest prime number in a list.
175. Write a program to check if a string contains only alphabets.
176. Write a program to find the frequency of digits in a number.
177. Write a program to check if a string is an isogram.
178. Write a program to calculate the area of a trapezium.
179. Write a program to find the longest word in a list.
180. Write a program to generate a list of random integers between a given range.
Previous
1
2
3
4
5
6
7
Next
More Levels
Intermediate
Advanced
Most Visited
Write a program to check whether a number is even or odd.
Write a program to find the longest sequence of consecutive numbers in a list.
Write a program to implement the min-heap and max-heap data structures.
Write a program to find the common characters in two strings.
Write a program to find the longest path in a binary tree.
Write a program to find the longest valid parentheses substring.
Write a program to find the largest of three numbers.
Write a program to find the longest substring with at most two distinct characters.
Write a program to implement a simple file search application.
Write a program to calculate the factorial of a number using iteration.
Write a program to calculate the factorial of a number using loops.
Write a program to perform a depth-first search in a maze represented as a graph.
Write a program to calculate the number of unique paths in a grid with obstacles using dynamic programming.
Write a program to generate a random password with letters and digits.
Write a program to calculate the factorial of a number.