Skip to content

student and techear.py #1164

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions student and techear.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
teachear = "Nilish"
student = "Vishnu"
username =input("enter your username:")
password = input("enter your password:")
dis1 = {"Nilish":191106,"Vishnu":230406}
if teachear==student:
print( "this is a teacher:")
elif print("this not a teachear"):
print("this is a not teachear to for the student:")
else:
print(" for the student")
print(" ADSUL'S TECHNICAL CAMPUS,CHAS,A.NAGAR".center(60))
#.center() mens that name or num are page center are visible
name= "nilish chatap"
print("name:",name)
div= "A"
print("div:",div)
rollnum=160
print("rollnum:",rollnum)

dis2 = {"math:",69 , "marthi:",89,"english:",78,"hindi:",80,"information technologi:",90}
print("subject\t marks")
print("math\t 90")
print("marthi\t 89 ")
print("english\t 78")
print("hindi\t 80")
print("information t\t 90")
total: int = 90+89+78+80+90
print("total:",total)
percentage=int = 90 % 89 % 78 % 80 % 90

print("percentage%:",percentage)