Computer Science, asked by prakharmishra2905, 18 days ago

Design and implement a program with class student having two methods with name set () but accepts different number of arguments. Include necessary methods to display the student details​
(PYTHON)

Answers

Answered by samarthkrv
0

Answer:

def set(name):

   return ("The name of the student is" , name)

def set(age):

   return (2021-age)

print(set("Brainly"))

print(set(15))

Explanation:

Similar questions