[Go to site: main page, start]

0% found this document useful (0 votes)
11 views26 pages

Python Lab Exercises for BCA 4th SEM

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

Python Lab Exercises for BCA 4th SEM

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

Python Lab

Python Lab Set Programs


Part-A

1. Check if a number belongs to the Fibonacci Sequence

n=int(input("Enter the number: "))


c=0
Output1:
a=1 Enter the number: 5
b=1 Yes, It is a Fibonacci No.
if n==0 or n==1:
print("Yes") Output2:
else: Enter the number: 4
while c<n: No, It is not a Fibonacci No.
c=a+b
b=a
a=c
if c==n:
print("Yes, It is a Fibonacci No")
else:
print("No, It is not A Fibonacci NO")

2. Solve Quadratic Equations.

The Quadratic Equation ax2+bx+c=0 Where a, b, c are real numbers and a not equal to 0.
The Solution of quadratic equation is given by

(-b ± (b ** 2 - 4 * a * c) ** 0.5) / (2 * a)

Source Code:

# import complex math module Output 1:


import cmath Enter a: 1
Enter b: 5
a = float(input('Enter a: ')) Enter c: 3
b = float(input('Enter b: ')) The solution are (-4.302+0j) and (-0.697+0j)
c = float(input('Enter c: '))
# calculate the discriminate Output2:
Enter a: 1
d = (b**2) - (4*a*c) Enter b: 3
# find two solutions Enter c: 5
sol1 = (-[Link](d))/(2*a) The solution are (-1.5-1.658j) and (-1.5+1.658j)
sol2 = (-b+[Link](d))/(2*a)
print('The solution are {0} and {1}'.format(sol1,sol2))

4th SEM BCA Page1


Python Lab

3. Find the sum of n natural numbers.


num = int(input("Enter a number: "))
if num < 0: Output 1:
Enter a number: 10
print("Enter a positive number") The sum of N Natural Numbers = 55
else:
Output 2:
sum = 0 Enter a number: 20
# use while loop to iterate un till zero The sum of N Natural Numbers = 210.

while(num > 0):


sum += num
num -= 1
print("The sum is",sum)

4. Display Multiplication Tables.

number = int(input ("Enter the number of which to print the multiplication table: "))
print ("The Multiplication Table of: ", number)
for count in range(1, 11):
print (number, 'x', count, '=', number * count)

Output 1: Output 2:

Enter the number of which the user wants Enter the number of which the user wants
to print the multiplication table: 5 to print the multiplication table: 12
The Multiplication Table of: 5 The Multiplication Table of: 12

5 x 1 =5 12 x 1 = 12
5 x 2 = 10 12 x 2 = 24
5 x 3 = 15 12 x 3 = 36
5 x 4 = 20 12 x 4 = 48
5 x 5 = 25 12 x 5 = 60
5 x 6 = 30 12 x 6 = 72
5 x 7 = 35 12 x 7 = 84
5 x 8 = 40 12 x 8 = 96
5 x 9 = 45 12 x 9 = 108
5 x 10 = 50 12 x 10 = 120

4th SEM BCA Page2


Python Lab

5. Check if a given number is a Prime Number or not


Note:
Prime No: The Number which is divisible by 1 and itself is called as a Prime No.
Valid Prime Nos: 1,3,5,7,11,13,17,19 etc
Invalid Prime Nos: 4,6,8,9,12,14,15,16,18,20 etc
Source Code:

number = int(input("Enter any number: "))


if number > 1:
for i in range(2, number):
if (number % i) == 0:
print(number, "is not a prime number")
break
else:
print(number, "is a prime number")
else:
print(number, "is not a prime number")

Output 1: Enter any number: 4


4 is not a prime number
Output2: Enter any number: 7
7 is a prime number

4th SEM BCA Page3


Python Lab

6. Implement a sequential search.

Sequential Search is a searching algorithm in which we sequentially search for a


presence of a particular element inside a list or array. For ex:

Output 1: Enter 5 Numbers:


Source Code:
2
print("Enter 5 Numbers: ") 3
arr = [] 5
for i in range(5): 6
7
[Link](i, int(input())) Enter the Number to Search:
print("Enter the Number to Search: ") 7
num = int(input()) Number Found at Index Number:
4
for i in range(5):
Output2:
if num==arr[i]: Enter 5 Numbers:
index = i 22
33
break
44
print("\nNumber Found at Index Number: ") 55
print(index) 66
Enter the Number to Search:
22
Number Found at Index Number:
0

7. Create a calculator program.

4th SEM BCA Page4


Python Lab

# This function adds two numbers


def add(x, y):
return x + y
# This function subtracts two numbers
def subtract(x, y):
return x - y
# This function multiplies two numbers
def multiply(x, y):
return x * y
# This function divides two numbers
def divide(x, y):
return x / y
print("Select operation.")
print("[Link]")
print("[Link]")
print("[Link]")
print("[Link]")
while True:
choice = input("Enter choice(1/2/3/4): ")
if choice in ('1', '2', '3', '4'):
try:
num1 = float(input("Enter first number: "))
num2 = float(input("Enter second number: "))
except ValueError:
print("Invalid input. Please enter a number.")
continue
if choice == '1':
print(num1, "+", num2, "=", add(num1, num2))
elif choice == '2':
print(num1, "-", num2, "=", subtract(num1, num2))
elif choice == '3':
print(num1, "*", num2, "=", multiply(num1, num2))
elif choice == '4':
print(num1, "/", num2, "=", divide(num1, num2))
next_calculation = input("Let's do next calculation? (yes/no): ")
if next_calculation == "no":
break
else:
print("Invalid Input")

4th SEM BCA Page5


Python Lab

Output:

Select an operation.
1. Add
2. Subtract
3. Multiply
4. Divide
Enter choice(1/2/3/4): 1
Enter first number: 10
Enter second number: 5
10.0 + 5.0 = 15.0
Let's do next calculation? (yes/no): y
Enter choice(1/2/3/4): 2
Enter first number: 10
Enter second number: 5
10.0 - 5.0 = 5.0
Let's do next calculation? (yes/no): y
Enter choice(1/2/3/4): 3
Enter first number: 10
Enter second number: 2
10.0 * 2.0 = 20.0
Let's do next calculation? (yes/no): y
Enter choice(1/2/3/4): 4
Enter first number: 10
Enter second number: 2
10.0 / 2.0 = 5.0
Let's do next calculation? (yes/no): y
Enter choice(1/2/3/4): 5
Invalid Input
Enter choice(1/2/3/4):

4th SEM BCA Page6


Python Lab

8. Explore string functions.


# create a string using double quotes
string1 = "Python programming"
# create a string using single quotes
string2 = 'I Love Python'
string3= "Python programming"
print("The given string1 is",string1)
print("The given string2 is",string2)
# Compare two Strings
comp=(string1 == string3)
print("Comparasion of two strings=",comp)
# Join Two Strings
result= string1 + string2
print("Joined two strings=",result)
# Print length of given string
print("Length of a given string1=",len(string1))
print("Length of a given string2=",len(string2))
# Convert String1 & String2 to Uppercase
print("Converted String1 is",[Link]())
print("Converted String2 is",[Link]())
# Convert String1 & String2 to Lowercase
print("Converted String1 is",[Link]())
print("Converted String2 is",[Link]())
# Replace string1 with string2
replace=[Link]('Python','Java')
print("Replaced string is",replace)
# Split Strings
split=[Link]()
print("Splitted string is",split)
Output:
The given string1 is Python programming
The given string2 is I Love Python
Comparison of two strings= True
Joined two strings= Python programming I Love Python
4th SEM BCA Page7
Python Lab

Length of a given string1= 18


Length of a given string2= 13
Converted String1 is PYTHON PROGRAMMING
Converted String2 is I LOVE PYTHON
Converted String1 is python programming
Converted String2 is i love python
Replaced string is I Love Java
Spitted string is ['Python', 'programming']

9. Implement Selection Sort

nums = []
print("Enter the size of list: ", end="")
tot = int(input())
print("Enter", tot, "numbers for the list: ", end="")
for i in range(tot):
[Link](int(input())) Output 1:
Enter the size of list: 5
Enter 5 numbers for the list: 6
for i in range(tot-1):
5
chk = 0
4
small = nums[i] 3
for j in range(i+1, tot): 2
if small > nums[j]: Sorted List is: 2 3 4 5 6
small = nums[j]
chk = chk + 1 Output 2:
index = j Enter the size of list: 10
if chk != 0: Enter 10 numbers for the list: 3
temp = nums[i] 5
nums[i] = small 10
66
nums[index] = temp
22
33
print("\nSorted List is: ", end="")
11
for i in range(tot): 09
print(nums[i], end=" ") 06
1

Sorted List is: 1 3 5 6 9 10 11 22 33 66

4th SEM BCA Page8


Python Lab

10. Implement Stack

STACK: A stack is a linear data structure where data is arranged objects on over another. It stores
the data in LIFO (Last in First Out) manner.
We can perform the two operations in the stack - PUSH and POP. The PUSH operation is when we
add an element and the POP operation is when we remove an element from the stack.

Problem Solution

1. Create a class Stack with instance variable items initialized to an empty list.
2. Define methods push, pop and is_empty inside the class Stack.
3. The method push appends data to items.
4. The method pop pops the first element in items.
5. The method is_empty returns True only if items is empty.
6. Create an instance of Stack and present a menu to the user to perform operations on the
stack.

Program/Source Code

Here is the source code of a Python program to implement a stack. The program output is
shown below.

class Stack:
def init (self):
[Link] = []

def is_empty(self):
return [Link] == []

def push(self, data):


[Link](data)

def pop(self):
return [Link]()

s = Stack()
while True:
print('push <value>')
print('pop')
print('quit')
do = input('What would you like to do? ').split()
operation = do[0].strip().lower()
if operation == 'push':
[Link](int(do[1]))
elif operation == 'pop':

4th SEM BCA Page9


Python Lab

if s.is_empty():
print('Stack is empty.')
else:
print('Popped value: ', [Link]())
elif operation == 'quit':
break

Output:

Output 1:
push <value>
pop
quit
What would you like to do? push 10
push <value>
pop
quit
What would you like to do? push 20
push <value>
pop
quit
What would you like to do? push 30
push <value>
pop
quit
What would you like to do? pop
Popped value: 30
push <value>
pop
quit
What would you like to do? pop
Popped value: 20
push <value>
pop
quit
What would you like to do? pop
Popped value: 10
push <value>
pop
quit
What would you like to do? pop
Stack is empty.
push <value>
pop
quit
What would you like to do? quit

4th SEM BCA Page10


Python Lab

11. Read and write into a file.


#Create an empty file and write some lines
line1 = 'This is first line. \n'
lines = ['This is another line to store into file.\n',
'The Third Line for the file.\n',
'Another line... !@#$%^&*()_+.\n',
'End Line']
#open the file as write mode
my_file = open('file_read_write.txt', 'w')
my_file.write(line1)
my_file.writelines(lines) #Write multiple lines
my_file.close()
print('Writing Complete')
#program to append some lines
line1 = '\n\nThis is a new line. This line will be appended. \n'
#open the file as append mode
my_file = open('file_read_write.txt', 'a')
my_file.write(line1) Output 1:
Writing Complete
my_file.close() Appending Done
print('Appending Done') Show the full content:
This is first line.
#program to read from file, open the file as read mode This is another line to store into file.
The Third Line for the file.
my_file = open('file_read_write.txt', 'r') Another line... !@#$%^&*()_+.
print('Show the full content:') End Line

print(my_file.read()) This is a new line. This line will be appended.


#Show first two lines
First two lines:
my_file.seek(0) This is first line.
This is another line to store into file.
print('First two lines:')
print(my_file.readline(), end = '')
First 25 characters:
print(my_file.readline(), end = '') This is first line.
This
#Show upto 25 characters
my_file.seek(0)
print('\n\nFirst 25 characters:')
print(my_file.read(25), end = '')
my_file.close()

4th SEM BCA Page11


Python Lab

Part- B
1. Demonstrate usage of basic regular expression.
import re
string = input('Enter a String\n')
pattern = input('Enter a pattern to search\n')
match = [Link](pattern, string)
if match:
print("Match found!")
else:
print("Match not found.")

Output 1: Output 2:
Enter a String Enter a String
Hello World Hello World
Enter a pattern to search Enter a pattern to search
World Hi
Match found! Match not found.

2. Demonstrate use of advanced regular expressions for data validation.

import re
print("Please enter password")
# Password should be 1) One Capital Letter 2) One Special Charactern 3) One Number 4)
Length Should be 8-18
pswd = input()
reg = "^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?=.*[@$!%*#?&])[A-Za-z\d@$!#%*?&]{8,18}$"
# compiling regex
match_re = [Link](reg)
# searching regex
res = [Link](match_re, pswd)
# validating conditions
if res:
print("Valid Password")
else:
print("Invalid Password")

Output 1: Output 2:
Please enter password Please enter password
welcome Welcome@123
Invalid Password Valid Password

4th SEM BCA Page12


Python Lab

3. Demonstrate use of List.


list1 =[]
n = int(input("Enter the number of integer elements in the list:\n"))
for i in range(0,n):
[Link](input("Enter the item:"))
print("printing the integer items..")
for i in list1:
print(i, end = "\n ")
list2 = []
s = int(input("Enter the number of String elements in the list:\n"))
for i in range(0,s):
[Link](input("Enter the item:"))
print("printing the string items..")
for i in list2:
print(i, end = " \n ")
list3 = []
m = int(input("Enter the number of Mixed elements in the list:\n"))
for i in range(0,m):
[Link](input("Enter the item:")) Output 1:
print("printing the mixed items..") Enter the number of integer elements in the list: 3
Enter the item:10
for i in list3:
Enter the item:20
print(i, end = " \n ")
Enter the item:30
Printing the integer items..
10
20
30
Enter the number of String elements in the list: 3
Enter the item: Bangalore
Enter the item: Mysore
Enter the item: Tumkur
Printing the string items..
Bangalore
Mysore
Tumkur
Enter the number of Mixed elements in the list: 3
Enter the item:1.50
Enter the item:50
Enter the item:Tumkur
Printing the mixed items..
1.50
50
Tumkur

4th SEM BCA Page13


Python Lab

4. Demonstrate use of Dictionaries.

Dictionary = {}
print("The empty Dictionary: ")
print(Dictionary)

Dictionary[0] = 'Javatpoint'
Dictionary[2] = 'Python'
[Link]({ 3 : 'Dictionary'})
print("\nDictionary after addition of these elements: ")
print(Dictionary)

Dictionary['list_values'] = 3, 4, 6
print("\nDictionary after addition of the list: ")
print(Dictionary)

Dictionary[2] = 'Tutorial'
print("\nUpdated dictionary: ")
print(Dictionary)

Dictionary[5] = {'Nested_key' :{1 : 'Nested', 2 : 'Key'}}


print("\nAfter addtion of a Nested Key: ")
print(Dictionary)

Output 1:

The empty Dictionary:


{}

Dictionary after addition of these elements:


{0: 'Javatpoint', 2: 'Python', 3: 'Dictionary'}

Dictionary after addition of the list:


{0: 'Javatpoint', 2: 'Python', 3: 'Dictionary', 'list_values': (3, 4, 6)}

Updated dictionary:
{0: 'Javatpoint', 2: 'Tutorial', 3: 'Dictionary', 'list_values': (3, 4, 6)}

After addtion of a Nested Key:


{0: 'Javatpoint', 2: 'Tutorial', 3: 'Dictionary', 'list_values': (3, 4, 6), 5:
{'Nested_key': {1: 'Nested', 2: 'Key'}}}

4th SEM BCA Page14


Python Lab

5. Create SQLite Database and Perform Operations on Tables

Connect To Database

import sqlite3

conn = [Link]('[Link]')

print "Opened database successfully";

Output: Open database successfully.

# Create a Database Table


[Link]('''CREATE TABLE COMPANY
(ID INT PRIMARY KEY NOT NULL,
NAME TEXT NOT NULL,
AGE INT NOT NULL,
ADDRESS CHAR(50),
SALARY REAL);''')
print "Table created successfully";

[Link]()

Output: Table created successfully

# INSERT Operation

[Link]("INSERT INTO COMPANY (ID,NAME,AGE,ADDRESS,SALARY) \


VALUES (1, 'Paul', 32, 'California', 20000.00 )");

[Link]("INSERT INTO COMPANY (ID,NAME,AGE,ADDRESS,SALARY) \


VALUES (2, 'Allen', 25, 'Texas', 15000.00 )");

[Link]("INSERT INTO COMPANY (ID,NAME,AGE,ADDRESS,SALARY) \


VALUES (3, 'Teddy', 23, 'Norway', 20000.00 )");

[Link]("INSERT INTO COMPANY (ID,NAME,AGE,ADDRESS,SALARY) \


VALUES (4, 'Mark', 25, 'Rich-Mond ', 65000.00 )");
[Link]()

Output: Records created successfully

4th SEM BCA Page15


Python Lab

# SELECT Operation

cursor = [Link]("SELECT id, name, address, salary from COMPANY")


for row in cursor:
print "ID = ", row[0]
print "NAME = ", row[1]
print "ADDRESS = ", row[2]
print "SALARY = ", row[3], "\n"
print "Operation done successfully";

Output:
ID = 1
NAME = Paul
ADDRESS = California
SALARY = 20000.0

ID = 2
NAME = Allen
ADDRESS = Texas
SALARY = 15000.0

ID = 3
NAME = Teddy
ADDRESS = Norway
SALARY = 20000.0

ID = 4
NAME = Mark
ADDRESS = Rich-Mond
SALARY = 65000.0

Operation done successfully

# UPDATE Operation

[Link]("UPDATE COMPANY set SALARY = 25000.00 where ID = 1")


[Link]()
print "Total number of rows updated :", conn.total_changes
Output:
Total number of rows updated : 1
ID = 1
NAME = Paul
ADDRESS = California
SALARY = 25000.0

ID = 2
NAME = Allen
ADDRESS = Texas
SALARY = 15000.0
4th SEM BCA Page16
Python Lab

ID = 3
NAME = Teddy
ADDRESS = Norway
SALARY = 20000.0

ID = 4
NAME = Mark
ADDRESS = Rich-Mond
SALARY = 65000.0

Operation done successfully

# Delete Operation

[Link]("DELETE from COMPANY where ID = 2;")


[Link]()
print "Total number of rows deleted :", conn.total_changes

Output:
Total number of rows deleted : 1
ID = 1
NAME = Paul
ADDRESS = California
SALARY = 20000.0

ID = 3
NAME = Teddy
ADDRESS = Norway
SALARY = 20000.0

ID = 4
NAME = Mark
ADDRESS = Rich-Mond
SALARY = 65000.0

Operation done successfully

4th SEM BCA Page17


Python Lab

6. Create a GUI using Tkinter module


So, Tkinter is a Python Interface to the Graphics User Interface ( GUI ) Toolkit. Using Tkinter in
Python enables users to create GUI applications. In order to create applications in Python one needs
to,

 Import the module


 Create the container ( main window )
 Add desired widgets to the container
 Apply event Trigger

To install Tkinter, one has to run in the command line as follows,

pip install tkinter

Source Code
from tkinter import *
import calendar
def showCalender():
gui = Tk()
[Link](background='white')
[Link]("Calender for the year")
[Link]("525x550")
year = int(year_field.get())
gui_content= [Link](year)
calYear = Label(gui,text= gui_content,font=("times", 10,))
[Link](row=5, column=1,padx=10)
[Link]()
if name ==' main ':
new = Tk()
[Link](background='white')
[Link]("Calender For Any Year")
[Link]("410x620")
cal = Label(new, text="Calender For Any Year",font=("times", 30, "bold",))
year = Label(new, text="Enter year", bg='orange',font=("times", 30, "bold",))
year_field=Entry(new,font=("times", 20, "bold",))
button = Button(new, text='Show
Calender',fg='white',bg='Orange',command=showCalender,font=("times", 20, "bold",))
Exit = Button(new, text="Exit", command=[Link],font=("times", 20, "bold",))

4th SEM BCA Page18


Python Lab

[Link](row=1, column=1)
[Link](row=2, column=1)
year_field.grid(row=3, column=1)
[Link](row=4, column=1)
[Link](row=5, column=1)
[Link]()
Output:

4th SEM BCA Page19


Python Lab

7. Demonstrate Exceptions in Python


try:
print('try block')
x=int(input('Enter a number: '))
y=int(input('Enter another number: '))
z=x/y
except ZeroDivisionError:
print("except ZeroDivisionError block")
print("Division by 0 not accepted")
else:
print("else block")
print("Division = ", z)
finally:
print("finally block")
x=0
y=0
print ("Out of try, except, else and finally blocks." )

Output 1:
try block
Enter a number: 10
Enter another number: 2
else block
Division = 5.0
finally block
Out of try, except, else and finally blocks.

Output 2:

try block
Enter a number: 1
Enter another number: 0
except ZeroDivisionError block
Division by 0 not accepted
finally block
Out of try, except, else and finally blocks.

4th SEM BCA Page20


Python Lab

8. Drawing Line chart and Bar chart using Matplotlib


a) Line Graph using Matplotlib.

import [Link] as plt


import numpy as np
x = [Link]([1, 2, 3, 4])
y = x*2
[Link](x, y)
[Link]("X-axis")
[Link]("Y-axis")
[Link]("Line Graph")
[Link]()
# show first chart
[Link]()
x1 = [2, 4, 6, 8]
y1 = [3, 5, 7, 9]
[Link](x1, y1, '-.')
# Show another chart with '-' dotted line
[Link]()

Output:

4th SEM BCA Page21


Python Lab

b) Bar graph using Matplotlib.

import numpy as np
import [Link] as plt
# creating the dataset
data = {'C':20, 'C++':15, 'Java':30,
'Python':35}
courses = list([Link]())
values = list([Link]())
fig = [Link](figsize = (10, 5))
# creating the bar plot
[Link](courses, values, color ='maroon',width = 0.4)
[Link]("Courses offered")
[Link]("No. of students enrolled")
[Link]("Students enrolled in different courses")
[Link]()

Output:

4th SEM BCA Page22


Python Lab

9. Drawing Histogram and Pie chart using Matplotlib

# Import libraries matplotlib

from matplotlib import pyplot as plt


import numpy as np

# Creating dataset
cars = ['AUDI', 'BMW', 'FORD', 'TESLA', 'JAGUAR', 'MERCEDES']
data = [23, 17, 35, 29, 12, 41]
fig = [Link](figsize =(8, 5))
[Link](data, labels = cars)
[Link]()
# plotting Histogram
fig, ax = [Link](figsize =(8, 5))
[Link](cars, bins = [0, 25, 50, 75, 100])
[Link]()

Output:
Piechart

4th SEM BCA Page23


Python Lab

Histogram

4th SEM BCA Page24


Python Lab

10. Create Array using NumPy and Perform Operations on Array

import numpy as np

# Initializing our array


array1 = [Link](9, dtype = np.float_).reshape(3, 3)
print('First Array:')
print(array1)

print('Second array:')
array2 = [Link](11,20, dtype = np.float_).reshape(3, 3)
print(array2)

print('\nAdding two arrays:')


print([Link](array1, array2))

print('\nSubtracting two arrays:')


print([Link](array1, array2))

print('\nMultiplying two arrays:')


print([Link](array1, array2))

print('\nDividing two arrays:')


print([Link](array1, array2))

# Reciprocal of array

arr = [Link]([25, 1.33, 1, 1, 100])

print('Our array is:')


print(arr)

print('\nAfter applying reciprocal function:')


print([Link](arr))

# power of array

print('\nApplying power function:')


print([Link](arr, 2))

4th SEM BCA Page25


Python Lab

Output:

First Array:
[[0. 1. 2.]
[3. 4. 5.]
[6. 7. 8.]]
Second array:
[[11. 12. 13.]
[14. 15. 16.]
[17. 18. 19.]]

Adding two arrays:


[[11. 13. 15.]
[17. 19. 21.]
[23. 25. 27.]]

Subtracting two arrays:


[[-11. -11. -11.]
[-11. -11. -11.]
[-11. -11. -11.]]

Multiplying two arrays:


[[ 0. 12. 26.]
[ 42. 60. 80.]
[102. 126. 152.]]

Dividing two arrays:


[[0. 0.08333333 0.15384615]
[0.21428571 0.26666667 0.3125 ]
[0.35294118 0.38888889 0.42105263]]
Our array is:
[ 25. 1.33 1. 1. 100. ]

After applying reciprocal function:


[0.04 0.7518797 1. 1. 0.01 ]

Applying power function:


[6.2500e+02 1.7689e+00 1.0000e+00 1.0000e+00 1.0000e+04]

4th SEM BCA Page26

You might also like