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
756
50.26
2. Convert Celsius to Fahrenheit
Capgemini
EY
+ 2 more
Solve
Easy
438
68.72
3. Convert Kilometers to Miles
PwC
Snowflake
+ 1 more
Solve
Easy
324
84.88
4. Calculate the Area of a Circle
KPMG
PwC
+ 2 more
Solve
Easy
386
58.81
5. Find the Square Root of a Number
KPMG
PwC
+ 1 more
Solve
Easy
288
80.21
6. Reverse a Given String
Amazon
Google
+ 2 more
Solve
Basic
265
77.36
7. Swap Two Variables Without a Temporary Variable
KPMG
PwC
+ 2 more
Solve
Medium
251
76.49
8. Chain Comparison Operators
Tech Mahindra
Wipro
+ 1 more
Solve
Easy
347
31.7
9. Check if a String is a Palindrome
Cognizant
eBay
+ 2 more
Solve
Basic
227
67.84
10. Extract the First and Last Elements of a List
Snowflake
Tutorialspoint
+ 2 more
Solve
Medium
241
58.51
11. Convert a String to a List of Characters
Facebook
PwC
+ 2 more
Solve
Hard
195
77.95
12. Convert a Decimal Number to Hexadecimal
Google
Shopify
+ 3 more
Solve
Medium
216
49.54
13. Count the Number of Digits in an Integer
Dropbox
KPMG
+ 3 more
Solve
Medium
202
63.37
14. Check if a Number is a Multiple of Another
Tutorialspoint
Walmart
+ 3 more
Solve
Medium
183
70.49
15. Find the Last Digit of a Number
Microsoft
Shopify
+ 2 more
Solve
Medium
172
75
16. Print the ASCII Value of a Character
Capgemini
Facebook
+ 3 more
Solve
Medium
129
95.35
17. Find the Greatest of Three Numbers
Google
Tutorialspoint
+ 3 more
Solve
Medium
170
65.88
18. Compute the Power of a Number
Google
TCS (Tata Consultancy Services)
+ 3 more
Solve
Medium
136
86.76
19. Find the GCD (Greatest Common Divisor) of Two Numbers
Facebook
TCS (Tata Consultancy Services)
+ 1 more
Solve
Easy
175
51.43
20. Generate a Multiplication Table for a Given Number
eBay
Facebook
+ 2 more
Solve
Easy
180
47.78
21. Generate Pascal's Triangle Up to N Rows
Goldman Sachs
Google
+ 2 more
Solve
Medium
113
46.9
22. Print All Armstrong Numbers in a Given Range
Adobe
Goldman Sachs
+ 2 more
Solve
Medium
85
61.18
23. Check if a Triangle is Valid Given Its Three Angles
Facebook
Goldman Sachs
+ 2 more
Solve
Medium
119
45.38
24. Rotate Elements in a List to the Right by K Positions
Adobe
Deloitte
+ 2 more
Solve
Medium
96
56.25
25. Find the Second Largest Number in a List
Snowflake
Tech Mahindra
+ 2 more
Solve
Medium
148
39.19
26. Remove All Non-Alphabetic Characters from a String
Adobe
Wipro
+ 3 more
Solve
Hard
79
68.35
27. Merge Two Sorted Lists into a Single Sorted List
EY
Snowflake
+ 3 more
Solve
Hard
161
22.98
28. Reverse the Words in a Sentence
Capgemini
Snowflake
+ 2 more
Solve
Medium
101
53.47
29. Print Prime Numbers in a Given Range
Dropbox
Facebook
+ 2 more
Solve
Medium
92
48.91
30. Check if Two Strings are Anagrams
Google
HCL Technologies
+ 2 more
Solve
Medium
81
55.56
31. Count the Frequency of Each Character in a String
Snowflake
Tech Mahindra
+ 2 more
Solve
Medium
62
75.81
32. Convert a Roman Numeral to an Integer
Capgemini
Snowflake
+ 2 more
Solve
Medium
74
39.19
33. Convert an Integer to a Roman Numeral
Adobe
EY
+ 3 more
Solve
Medium
44
84.09
34. Convert a List of Tuples into a Dictionary
Deloitte
Snowflake
+ 3 more
Solve
Medium
50
86
35. Check if a Given Year is a Leap Year
Adobe
Airbnb
+ 2 more
Solve
Easy
114
35.96
36. Print Fibonacci Series up to N Terms
Adobe
Shopify
+ 2 more
Solve
Easy
51
84.31
37. Find the Sum of Natural Numbers up to N
Dropbox
HCL Technologies
+ 2 more
Solve
Easy
54
87.04
38. Find the Largest Prime Factor of a Number
Goldman Sachs
Tutorialspoint
+ 2 more
Solve
Medium
69
47.83
39. Count the Number of Prime Numbers in a Given Range
Google
Walmart
+ 2 more
Solve
Hard
67
49.25
40. Compute the Sum of Even and Odd Numbers in a List
Facebook
HCL Technologies
+ 3 more
Solve
Hard
64
75
41. Remove Duplicates from a List
Dropbox
Tech Mahindra
+ 2 more
Solve
Medium
53
84.91
42. Check if a List is Sorted
Facebook
Goldman Sachs
+ 2 more
Solve
Medium
95
35.79
43. Find the LCM (Least Common Multiple) of Two Numbers
EY
Google
+ 1 more
Solve
Easy
60
65
44. Convert a Decimal Number to Binary
Snowflake
TCS (Tata Consultancy Services)
+ 3 more
Solve
Medium
51
78.43
45. Intersection of Two Lists
Dropbox
EY
+ 1 more
Solve
Medium
51
80.39
46. Union of Two Lists
PwC
Snowflake
+ 1 more
Solve
Easy
56
75
47. Common Elements in Two Lists
Microsoft
List
Solve
Easy
54
62.96
48. Occurrences of Each Element in a List
Dropbox
HCL Technologies
+ 1 more
Solve
Medium
61
65.57
49. Most Frequent Element in a List
Dropbox
PwC
+ 1 more
Solve
Medium
64
65.63
50. Number of Vowels in a String
Adobe
Amazon
+ 2 more
Solve
Basic
85
62.35
Advertisements