0% found this document useful (0 votes)
5 views1 page

Python Class for Student Data

The document contains a Python script named practical22.py authored by Chirayu Khalwa, a B.Tech. Computer Science and Engineering student. The script defines a 'student' class with methods to initialize student attributes and display them. It includes an enrollment number and the author's name and branch information.

Uploaded by

coloursvisionxx
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)
5 views1 page

Python Class for Student Data

The document contains a Python script named practical22.py authored by Chirayu Khalwa, a B.Tech. Computer Science and Engineering student. The script defines a 'student' class with methods to initialize student attributes and display them. It includes an enrollment number and the author's name and branch information.

Uploaded by

coloursvisionxx
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

[Link] [Link]

~/Desktop/python lab/[Link]

#ENROLLMENT NO.: 202203103510493


#NAME: Chirayu khalwa
#BRANCH: [Link]. Computer Science and Engineering

class student:
def __init__(self, name, branch):
[Link] = name
[Link] = branch
def get_data(self):
print("Student name:", [Link])
print("Student branch:", [Link])

1 of 1 02/05/23, 11:29

You might also like