Skip to main content

Python OPPE-2


Check If the given domain is .com or .in
2 mins
Python OOPE-2 Section-1 Problem-1
Write a function is_dot_com_or_dot_in(domain) that takes a string domain and checks whether it ends with .com or .in. …
Count Odd 3 Digit Numbers (Ignore None)
3 mins
Python OOPE-2 Section-1 Problem-1
Write a function count_odd_three_digit_nums(nums) that takes a list of integers nums and returns the count of numbers that are: Odd.
Write a function is_even_two_digit_number that checks whether a given number is an even two-digit number. | Section 1 | Problem 1
2 mins
Python OOPE-2 Section-1 Problem-1
Here’s a summary of A Truly Beautiful Mind and answers to all the questions, presented for ease of understanding with emojis! 📚🤖 …
Write a function is_present_in_opposite_halves(elem, l1: list, l2: list) that checks whether the given elem is present in opposite halves of the two lists l1 and l2.
2 mins
Python OOPE-2 Section-1 Problem-1
Write a function is_dot_com_or_dot_in(domain) that takes a string domain and checks whether it ends with .com or .in. …