Page 69 - IPP-12-2024
P. 69

print("Subject with minimum highest marks
               of ",m," is\n ",s.index)

                                elif chana==5:
                                    m=result['Percentage'].max()

                                    s=result.loc[result.Percentage==m]

                                    print("Subject with maximum percentage of
               A1 and A2",s.index,"\n Percentage   being",m)

                                elif chana==6:

                                    m=result['Percentage'].min()
                                    s=result.loc[result.Percentage==m]

                                    print("Subject with minimum percentage of
               A1 and A2",s.index,"\n Percentage   being",m)

                                elif chana==7:

                                    break

                   elif ch == 9:
                       print("Exiting program.")

                       break

                   else:

                       print("Invalid choice. Please enter a number between 1
               and 9.")

               OUTPUT


               Main Menu




















               CSV File Data
   64   65   66   67   68   69   70   71   72   73   74