Notes![what is notes.io? What is notes.io?](/theme/images/whatisnotesio.png)
![]() ![]() Notes - notes.io |
import getpass,os
def admin_mode():
passwrd=getpass.getpass("enter password:")
if passwrd=='chutiya':
while(1):
c=input("1.add studentn2.show studentsn3.delete studentn4.add facultyn5.show facultyn6.delete facultyn7.add bookn8.delete bookn9.show bookn10.issue book_studentn11.issue_book_facultyn12.search bookn13.return bookn14.back")
if c=='1':
c1=m.add_student()
if(c1):
print("data entered Succesfully!!")
print("enrollment no is :",c1)
else:
print("Can't add, student alredy exist!")
elif c=='2':
m.show_students()
elif c=='3':
en=input("enter the student enrollment number to delete")
if(m.remove_student(en)):
print("student deleted!")
else:
print("student not exist!")
elif c=='4':
if(m.add_faculty()):
print("added successfully!")
else:
print("faculty of this employee id already exist!!")
elif c=='5':
m.show_faculties()
elif c=='6':
en=input("enter the fuculty employee id to be delete:")
if(m.remove_Faculty(en)):
print("faculty deleted!")
else:
print("fuculty not exist!!")
elif c=='7':
if(m.add_book()):
print("book added")
else:
print("not added")
elif c=='8':
isbn=input("enter the book isbn to be delete:")
if(m.del_book(isbn)):
print("book deleted!")
else:
print("book not exist!!")
elif c=='9':
m.show_books()
elif c=='10':
m.issue_book_student()
elif c=='11':
m.issue_book_faculty()
elif c=='12':
m.search_book()
elif c=='13':
en=input("enter student enrollment number or faculty's employee id which have to return book")
m.return_book(en)
elif c=='14':
break
while(1):
i=input("1.adminn2.studentn3.Facultyn4.exit")
if i=='1':
admin_mode()
elif i=='4':
break
else:
pass
![]() |
Notes is a web-based application for online taking notes. You can take your notes and share with others people. If you like taking long notes, notes.io is designed for you. To date, over 8,000,000,000+ notes created and continuing...
With notes.io;
- * You can take a note from anywhere and any device with internet connection.
- * You can share the notes in social platforms (YouTube, Facebook, Twitter, instagram etc.).
- * You can quickly share your contents without website, blog and e-mail.
- * You don't need to create any Account to share a note. As you wish you can use quick, easy and best shortened notes with sms, websites, e-mail, or messaging services (WhatsApp, iMessage, Telegram, Signal).
- * Notes.io has fabulous infrastructure design for a short link and allows you to share the note as an easy and understandable link.
Fast: Notes.io is built for speed and performance. You can take a notes quickly and browse your archive.
Easy: Notes.io doesn’t require installation. Just write and share note!
Short: Notes.io’s url just 8 character. You’ll get shorten link of your note when you want to share. (Ex: notes.io/q )
Free: Notes.io works for 14 years and has been free since the day it was started.
You immediately create your first note and start sharing with the ones you wish. If you want to contact us, you can use the following communication channels;
Email: [email protected]
Twitter: http://twitter.com/notesio
Instagram: http://instagram.com/notes.io
Facebook: http://facebook.com/notesio
Regards;
Notes.io Team