Practice Questions (QB)
Practice Questions (QB)
ii. a = [11,42,31,14]
print(max(a))
print(min(a))
print(a.remove(42))
iii. Nm=*“Smaridhi”,”ashish”,”Naved”,”preet”+
print(Nm[-1][-1])
iv. print( 2 * “IP” + “2022”)
print( “2022” + (“IP” * 3))
v.
12. Write a python program to accept age of a person from user and check whether he has completed 18
years or more. If yes print „Eligible for Voting‟ or otherwise print „Minor‟.
13. Write a program to calculate working capital for company A that has cash of aboutRs2,50,000,
Accounts received of about Rs 1,50,000 and inventories of about Re 5,00,000. Company A also
has accounts payable of Rs 3,00,000, short term borrowings of Re. 75,000 and accrued
liabilities of about Rs. 1,25,000
Hint: Working Capital = Current assets- Current liabilities