## Python / ORM and SqlAlchemy

#### Recent solutions:

Check these solutions from our community:
Python / ORM and SqlAlchemy DifficultyMedium Python
Given a list of integers, this function will return the sum of the odd integers in the list.
About this solution: This solution correctly returns the sum of the odd integers in the list. The approach is straightforward and easy to understand.
Nov 25
Python / ORM and SqlAlchemy DifficultyMedium Python
This Python function finds the first non-repeating element in a list of integers. For example, if the input list is [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], the output would be 1.
About this solution: The candidate's solution is correct and solves the problem. The candidate's approach is also optimal, as they only iterate through the list once and use a dictionary to store the number of times each element appears in the list.
Nov 24
Python / ORM and SqlAlchemy DifficultyMedium Python
This technical problem involves writing a Python script to take a list of numbers and output the sum of all the numbers in the list.
About this solution: The candidate's solution correctly calculates the sum of a list of numbers. However, the solution is not very robust - it only works for a specific input (a list of numbers) and does not account for other possible inputs. In addition, the solution does not account for edge cases, such as an empty list.
Nov 22
Python / ORM and SqlAlchemy DifficultyMedium Python
This technical problem involves writing a function that takes a list of integers as input and returns the sum of all integers that are greater than or equal to 10. An example input and output is provided .
About this solution: The candidate's solution correctly solves the problem. They iterate through the list, checking if each integer is greater than or equal to 10. If it is, they add it to the sum. This is a solid approach and the code is clean and easy to read.
Nov 20
Python / ORM and SqlAlchemy DifficultyMedium Python
Design a function that takes in a string and outputs a list of all the unique words in the string.