Question 2: Assigning Values Based on Conditions -