Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Write code using Python satisfying the conditions. Star Mart is a new super market opened near VIT. The marketing team of the super market planned
Write code using Python satisfying the conditions.
Star Mart is a new super market opened near VIT. The marketing team of the super market planned to get customer details to incorporate CRM. Design a Python code for the markting wing to help them analyze their customers. Assume on a day (n) customers opted for CRM. The Python code must perform the following: 1. Fecth the number of customers (n integer) who opted for CRM 2. Fetch customer id integer) and gender (0-male 1-female) for each of the (n) customer. 3. Based on the gender create two sets. A set for customer id of male customers and a set for customer id of female customers. 4. On the same day fetch the number of customers (m) who made high purchase of more that Rs. 2000/- 5. Fetch the customer id of the (m) customers who purchased more than Rs. 2000/-. This customer id could include the customer id of non-CRM customers also. 6. Analyze and display the set of female customers who made high purchase and opted for CRM. Display the set of male customers who made high purchase and opted for CRM. Display the set of high purchase non-CRM customers. Note: CRM stands for Customer Relationship ManagementStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started