0% found this document useful (0 votes)
23 views11 pages

Introduction To Python Programming 1

The document outlines a Python programming assignment for students in the AI & DS program at Galgotias University, focusing on implementing a loan eligibility system for Metro Bank. It specifies the requirements for account validation, loan amount determination, and error handling for invalid data. The assignment includes initializing variables, checking account conditions, and displaying results based on user input.

Uploaded by

muzakkirkhan686
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
23 views11 pages

Introduction To Python Programming 1

The document outlines a Python programming assignment for students in the AI & DS program at Galgotias University, focusing on implementing a loan eligibility system for Metro Bank. It specifies the requirements for account validation, loan amount determination, and error handling for invalid data. The assignment includes initializing variables, checking account conditions, and displaying results based on user input.

Uploaded by

muzakkirkhan686
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 11

School of Basic and Applied Sciences

Subject Name: INTRODUNCTION TO PYTHON PROGRAMMING Subject Code: BCS01t1010

CAT-3 Presentation
Topic Name
Programme Name: AI & DS

Section: 2

Student Name: Aditya Narayan Tiwari

Admission No: 20SCSE1280040

Student Name: Md. Muzakkir Khan

Admission No: 20SCSE1280056

Student Name: MOHD. Sameer

Admission No: 20SCSE1280012

Submitted to
Dr. Ravinder Ahuja
School of Computing Science And Engineering, Galgotias
University
QUESTION
Problem#6:
The Metro Bank provides various types of loans such as car loans, business loans and house loans to its account holders. Write a
python program to implement the following requirements:

• Initialize the following variables with appropriate input values:account_number, account_balance, salary, loan_type
loan_amount_expected and customer_emi_expected.
• The account number should be of 4 digits and its first digit should be 1.
• The customer should have a minimum balance of Rupees 1 Lakh in the account.
• If the above rules are valid, determine the eligible loan amount and the EMI that the bank can provide to its customers based
on their salary and the loan type they expect to avail.
• The bank would provide the loan, only if the loan amount and the number of EMI’s requested by the customer is less than o
equal to the loan amount and the number of EMI’s decided by the bank respectively.
Display appropriate error messages for all invalid data. If all the business rules are satisfied ,then display account number, eligible
and requested loan amount and EMI’s.
Test your code by providing different values for the input variables.
ALGORITHM

The Metro Bank provides various types of loans such as car loans, business loans and
house loans to its account holders. Write a python program to implement the following
requirements:
• Initialize the following variables with appropriate input values:account_number,
account_balance, salary, loan_type, loan_amount_expected and
customer_emi_expected.
• The account number should be of 4 digits and its first digit should be 1.
• The customer should have a minimum balance of Rupees 1 Lakh in the account.
• If the above rules are valid, determine the eligible loan amount and the EMI that the
bank can provide to its customers based on their salary and the loan type they expect
to avail.
• The bank would provide the loan, only if the loan amount and the number of EMI’s
requested by the customer is less than or equal to the loan amount and the number of
EMI’s decided by the bank respectively.
RESULT

CODE
RESULT

CODE
RESULT

CODE
RESULT

CODE
OUTPUT :

You might also like