CS - RARE-TERM1-class 11
CS - RARE-TERM1-class 11
Rare Project
found = False
for line in filecontents:
if searchname in line:
print( "Your Required Contact Record is:", end = " ")
print( line)
found = True
break
if found == False:
print( "The Searched Contact is not available in the Phone Book", searchname)
# first name
def input_firstname():
first = input( "Enter the First Name of the student: ")
remfname = first[1:]
firstchar = first[0]
return firstchar.upper() + remfname
# last name
def input_lastname():
last = input( "Enter the Last Name of the student: ")
remlname = last[1:]
firstchar = last[0]
return firstchar.upper() + remlname
main_menu()
THE FLOWCHART FOR ATTENDENCE RECORD SYSTEM:
THE .py FILE FOR ATTENDENCE RECORD SYSTEM: