Q1.What is global interpreter lock? Q2.# Write a Python program that takes a list of integers and returns a new list with each integer squared. However, if the squared value is greater than 50, replace it with the string 'Over 50'. The program should handle any exceptions that may arise from incorrect inputs gracefully without using inbuilt functions. # input_numbers = [1, 7, 8, 4, 'a', 3] # Output - [1, 49, 'Over 50', 16, 'Invalid input: Not an integer', 9] Q3.# Given a string, find non-repeating character in it and return its index. If it doesn't exist, return -1. # input='leetcode # output=['l','t','c','o','d']
Senior Python Developer Interview Questions
499 senior python developer interview questions shared by candidates
In group Manager round , they asked me about my native place this was first question followed by other details such my current and previous organization roles.
Write a SQL query on a condition based ?
They asked about python, flask, MySQL, Pandas.
Mostly the interviewers ask about the coding theory: sorting algorithm, big o notation, deep vs shallow copy, etc
Given an array of integers, write a function that finds two numbers such that they add up to a specific target number.two_sum([2, 7, 11, 15], 9) # Output: [0, 1] (because nums[0] + nums[1] == 9)
Included questions like AWS concepts,generator in python,2 python questions list_1 = [0, [1, 2], [4, [6, 7, [8, 9]]], 10], expected_answer = [0, 1, 2, 4, 6, 7, 8, 9, 10] and list_1= [1, 7, 0, 0, 8, 0, 10, 12, 0, 4], expected_answer = [1, 7, 8, 10, 12, 4, 0, 0, 0, 0] regarding static variables
Concepts in python like arrays, list, tuples, libraries, string
No Question were asked as nobody was there.
What are the pros and cons of microservices?
Viewing 411 - 420 interview questions