filmov
tv
Class 12 python project || class 12 computer science project in python
![preview_player](https://i.ytimg.com/vi/OiW0hBQsOl8/maxresdefault.jpg)
Показать описание
code:
@author: Rajat Bisht, Bhaskar Bhatt
import pyttsx3
import datetime as dt
def speak(speech):
totala=0
totalp=0
totall=0
speak("please enter the following details")
name=input("Enter name (exclude file extension) of file which has names of students: ")
names=name+'.txt'
with open(names, 'r') as f:
date = a[0:11]
sayy="Enter class and section: "
speak(sayy)
clss=input(sayy)
say1=('''Mark your attendance
type p for present
a for absent
l for leave
!!!!input is case sensitive!!!!!''')
print(say1)
speak(say1)
for i in st:
attend = input(f"{i}: ")
if attend=="p":
totalp+=1
elif attend=="a":
totala+=1
elif attend=='l':
totall+=1
else:
say2="Error 404: focus on work not found"
print(say2)
speak(say2)
attend = input(f"{i}: ")
if attend=="p":
totalp+=1
elif attend=="a":
totala+=1
elif attend=='l':
totall+=1
else:
say3=('''Error 404: focus on work not found
Now I am not going to help you
do your work manually
this is your punishment
hahaahaha''')
print(say3)
speak(say3)
print("total students present= ",totalp)
print("total students absent are= ",totala)
print("total students leave are= ",totall)
-------------------------------end---------------------------
\n''')
\n''')
speak("Your work is saved successfully")
tags:
#Python,
#SchoolProject,
#CbseProject,
#Class12Project,
#PythonProject,
#AttendanceRegister,
cs project class 12 python,
cbse class 12 python projects,
class 12 python project,
class 12 python project cbse,
python project class 12,
python project,
class 12 ip python project,
cbse class 12 ip project python,
project in python,
python projects for class 12 cbse,
cbse class 12 python project,
Attendance register with python,
digital attendance register with python.
Комментарии