Home
Whiteboard
Online Compilers
Practice
Articles
Tools
Chapters
Categories
Library
Courses
Certifications
Login
Total Problems:
50
Python Basic Coding Problems
Total Points Scored:
0/345
1. Find the Sum of Digits in a Number
Airbnb
Facebook
+ 2 more
Solve
Medium
557
50.63
2. Convert Celsius to Fahrenheit
Capgemini
EY
+ 2 more
Solve
Easy
331
68.88
3. Convert Kilometers to Miles
PwC
Snowflake
+ 1 more
Solve
Easy
249
85.14
4. Calculate the Area of a Circle
KPMG
PwC
+ 2 more
Solve
Easy
278
60.43
5. Find the Square Root of a Number
KPMG
PwC
+ 1 more
Solve
Easy
213
81.22
6. Reverse a Given String
Amazon
Google
+ 2 more
Solve
Basic
197
77.16
7. Swap Two Variables Without a Temporary Variable
KPMG
PwC
+ 2 more
Solve
Medium
171
84.21
8. Chain Comparison Operators
Tech Mahindra
Wipro
+ 1 more
Solve
Easy
238
33.19
9. Check if a String is a Palindrome
Cognizant
eBay
+ 2 more
Solve
Basic
165
69.7
10. Extract the First and Last Elements of a List
Snowflake
Tutorialspoint
+ 2 more
Solve
Medium
167
61.08
11. Convert a String to a List of Characters
Facebook
PwC
+ 2 more
Solve
Hard
141
78.72
12. Convert a Decimal Number to Hexadecimal
Google
Shopify
+ 3 more
Solve
Medium
144
51.39
13. Count the Number of Digits in an Integer
Dropbox
KPMG
+ 3 more
Solve
Medium
155
60.65
14. Check if a Number is a Multiple of Another
Tutorialspoint
Walmart
+ 3 more
Solve
Medium
126
74.6
15. Find the Last Digit of a Number
Microsoft
Shopify
+ 2 more
Solve
Medium
132
71.97
16. Print the ASCII Value of a Character
Capgemini
Facebook
+ 3 more
Solve
Medium
95
94.74
17. Find the Greatest of Three Numbers
Google
Tutorialspoint
+ 3 more
Solve
Medium
118
69.49
18. Compute the Power of a Number
Google
TCS (Tata Consultancy Services)
+ 3 more
Solve
Medium
96
91.67
19. Find the GCD (Greatest Common Divisor) of Two Numbers
Facebook
TCS (Tata Consultancy Services)
+ 1 more
Solve
Easy
116
55.17
20. Generate a Multiplication Table for a Given Number
eBay
Facebook
+ 2 more
Solve
Easy
129
48.06
21. Generate Pascal's Triangle Up to N Rows
Goldman Sachs
Google
+ 2 more
Solve
Medium
64
56.25
22. Print All Armstrong Numbers in a Given Range
Adobe
Goldman Sachs
+ 2 more
Solve
Medium
52
67.31
23. Check if a Triangle is Valid Given Its Three Angles
Facebook
Goldman Sachs
+ 2 more
Solve
Medium
84
41.67
24. Rotate Elements in a List to the Right by K Positions
Adobe
Deloitte
+ 2 more
Solve
Medium
64
56.25
25. Find the Second Largest Number in a List
Snowflake
Tech Mahindra
+ 2 more
Solve
Medium
81
44.44
26. Remove All Non-Alphabetic Characters from a String
Adobe
Wipro
+ 3 more
Solve
Hard
57
66.67
27. Merge Two Sorted Lists into a Single Sorted List
EY
Snowflake
+ 3 more
Solve
Hard
97
24.74
28. Reverse the Words in a Sentence
Capgemini
Snowflake
+ 2 more
Solve
Medium
57
63.16
29. Print Prime Numbers in a Given Range
Dropbox
Facebook
+ 2 more
Solve
Medium
56
55.36
30. Check if Two Strings are Anagrams
Google
HCL Technologies
+ 2 more
Solve
Medium
53
62.26
31. Count the Frequency of Each Character in a String
Snowflake
Tech Mahindra
+ 2 more
Solve
Medium
46
73.91
32. Convert a Roman Numeral to an Integer
Capgemini
Snowflake
+ 2 more
Solve
Medium
46
50
33. Convert an Integer to a Roman Numeral
Adobe
EY
+ 3 more
Solve
Medium
33
84.85
34. Convert a List of Tuples into a Dictionary
Deloitte
Snowflake
+ 3 more
Solve
Medium
35
91.43
35. Check if a Given Year is a Leap Year
Adobe
Airbnb
+ 2 more
Solve
Easy
81
34.57
36. Print Fibonacci Series up to N Terms
Adobe
Shopify
+ 2 more
Solve
Easy
41
80.49
37. Find the Sum of Natural Numbers up to N
Dropbox
HCL Technologies
+ 2 more
Solve
Easy
41
85.37
38. Find the Largest Prime Factor of a Number
Goldman Sachs
Tutorialspoint
+ 2 more
Solve
Medium
43
62.79
39. Count the Number of Prime Numbers in a Given Range
Google
Walmart
+ 2 more
Solve
Hard
39
64.1
40. Compute the Sum of Even and Odd Numbers in a List
Facebook
HCL Technologies
+ 3 more
Solve
Hard
47
74.47
41. Remove Duplicates from a List
Dropbox
Tech Mahindra
+ 2 more
Solve
Medium
39
84.62
42. Check if a List is Sorted
Facebook
Goldman Sachs
+ 2 more
Solve
Medium
59
42.37
43. Find the LCM (Least Common Multiple) of Two Numbers
EY
Google
+ 1 more
Solve
Easy
43
69.77
44. Convert a Decimal Number to Binary
Snowflake
TCS (Tata Consultancy Services)
+ 3 more
Solve
Medium
33
84.85
45. Intersection of Two Lists
Dropbox
EY
+ 1 more
Solve
Medium
38
84.21
46. Union of Two Lists
PwC
Snowflake
+ 1 more
Solve
Easy
39
84.62
47. Common Elements in Two Lists
Microsoft
List
Solve
Easy
38
71.05
48. Occurrences of Each Element in a List
Dropbox
HCL Technologies
+ 1 more
Solve
Medium
34
82.35
49. Most Frequent Element in a List
Dropbox
PwC
+ 1 more
Solve
Medium
38
78.95
50. Number of Vowels in a String
Adobe
Amazon
+ 2 more
Solve
Basic
56
57.14
Advertisements