Interview Experience for a Data Analyst Role at a Finance Sector Company
I recently went through an interview process for a data analyst role at a finance sector company, and I would like to share my experience with you. The interview consisted of several technical questions which were quite easy, and I will be discussing them below.
Q1. The interviewer asked me to print odd numbers using list comprehension. I used the following code:
[i for i in range(0,20) if i % 2 != 0]
The output was:
[1, 3, 5, 7, 9, 11, 13, 15, 17, 19]
Q2. The next question was to print a list of tuples containing integers and strings. I used the following code: