Question: 1 Alm 1. Write a python program to accept the Customer name, Cust id, Bank name and Branch of 1 customer. Print it as a

1 Alm 1. Write a python program to accept the Customer name, Cust id, Bank name and Branch of 1 customer. Print it as a table as shown below. Customer Name Cust ID Bank name Branch John c3569 Bank Muscat Firq 2. Write a program to accept the base and height of a triangle. Swap the base and height. Then calculate the area of triangle using the formula 1/2 * base height. Procedure 2 1. Use input statement and print statements to accept and print the values. 2. Get b,h from the user and interchange the values. The calculate the area and print the answer. Sample Output: 1) 2) Enter name: John Enter base: 4 Enter cust id: c3569 Enter bank name: 32659836 Enter height: 7 Swapping values: 7 Area = 14 sq.m Enter branch: Firq WS
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
