TCS PRA 6th September || JAVA/ PYTHON || IEVOLVE ANSWERS
2.67K subscribers
385 photos
1.62K files
124 links
Download Telegram
๐Ÿšจโš ๏ธโš ๏ธAlert Alert Alert โš ๏ธโš ๏ธ๐Ÿšจ

TCER's

โš ๏ธDon't give ur wtsup numbers for any kind of exam help(PRA,IRA,WING's ,Digital)โš ๏ธ

โš ๏ธIt will effect on ur Job because The Sr.Tcer's are romming and mobilizing regarding Exam Helping Groups like Wttsup โš ๏ธ

โš ๏ธBeware about it Don't take any help from Wtsup and don't give ur Contact numbers please โš ๏ธ

https://t.me/Ievolveanswers

Please share this info to ur Frnds ๐Ÿ‘†๐Ÿ‘†โœ…โœ…
๐Ÿ‘3
Channel name was changed to ยซTCS PRA JUNE 7 PYTHON / JAVA / IEVOLVE ANSWERSยป
class Book:
def init(self,pages,price,author,id,title):
self.pages = pages
self.price = price
self.author = author
self.id = id
self.title = title
class BookStore:
def init(self,bsName,bList):
self.bookStoreName = bsName
self.bookList = bList
def findMinimumBookByid(self):
if(len(self.bookList)==0):
return None
minObject = min(self.bookList,key=lambda x:x.id)
return minObject

def sortBookByid(self):
if(len(self.bookList)==0):
return None
sortedObjects = sorted(self.bookList,key=lambda x:x.id)
return sortedObjects

n = int(input())
listOfBooks = []
for i in range(n):
pages = int(input())
price = int(input())
author = input()
id = int(input())
title = input()
bookObject = Book(pages,price,author,id,title)
listOfBooks.append(bookObject)
bookStoreObject = BookStore("ABC",listOfBooks)
result1 = bookStoreObject.findMinimumBookByid()
if(result1==None):
print("No Data Found")
else:
print(result1.pages)
print(result1.price)
print(result1.author)
print(result1.id)
print(result1.title)
result2 = bookStoreObject.sortBookByid()
if(result2==None):
print("No Data Found")
else:
for i in result2:
print(i.id)



Book code Mock PRA Python ๐Ÿ’ฏ

https://t.me/tcsprajavapythonitis
๐Ÿ‘6๐Ÿ‘2
Channel name was changed to ยซTCS CPA 12 PYTHON / JAVA / IEVOLVE / PRA / IRA /ยป
Channel name was changed to ยซTCS CPA 26 JUNE PYTHON / JAVA / IEVOLVE / PRA / IRA /ยป