Python developer Interview Questions | Glassdoor.co.in

Python developer Interview Questions

667

python developer interview questions shared by candidates

Top Interview Questions

Sort: RelevancePopular Date

First Round: Write a pattern 1: Should accept only odd numbers numbers only except 2: Pattern should be fully Dynamic for n =1 @@@@@ * ** *** **** ***** ****** ***** **** *** ** * @@@@@ Second Round:n=6 * ** *** **** ****** ****** ***** **** *** ** *

7 Answers

num = int(input()) for i in range(num): print('@',end="") for i in range(num+2): for j in range(i): print("*",end="") print() for i in range(num,0,-1): for j in range(i): print("*",end="") print() for i in range(num): print('@',end="")

num = int(input()) for i in range(num): for j in range(num): print(" ",end=" ") for j in range(num-i): print(" ",end="") for j in range(i+1): print("*",end=" ") print() for i in range(num,0,-1): for j in range(num-i+1): print(" ",end="") for j in range(i): print("*",end=" ") print()

with less loops n=int(input()) print(n*"@") for i in range(1,n+2): for j in range(i): print("*",end="") print("") for i in range(n,0,-1): for j in range(i): print("*",end="") print("") print(n*"@")

# n=3 * * * @ * @ * @ * * * #n=5 * * * @ * * * @ * * * @ * * * @ * * * @ * * * somewhat similar to these !

5 Answers

question on list ,sets and dictionary

4 Answers

Write a Program to print sum of even numbers which is divisible by 8:-

4 Answers

They asked about programming and analytical questions.

4 Answers

Palindrome

2 Answers

Print odd numbers as it is and double the even numbers. Where do you see yourself in 5 years? Why this job? Project Based Questions

2 Answers

the sum of 100 numbers divisible by 2 but not 8(pen-paper questin)

2 Answers

Technical test ? 3hours test

2 Answers

What is your Experience in Web Scrapping?

2 Answers
110 of 667 Interview Questions