Sign up
Login
New
Trending
Archive
English
English
Sign up
Login
New Paste
Add Image
# Student Study Manager # Class 11 Python Project # Easy Version + 2 Extra Features students = [] # List of students records = [] # List of study records while True: print("\n===== Student Study Manager =====") print("1. Add Student") print("2. Add Study Record") print("3. View Study Records") print("4. Count Subjects Studied") print("5. Total Study Time per Student") print("6. Strength & Weakness per Student") print("7. Exit") choice = input("Enter your choice (1-7): ") # 1. Add Student if choice == "1": name = input("Enter student name: ") roll = input("Enter roll number: ") student = {"name": name, "roll": roll} students.append(student) print("Student added!") # 2. Add Study Record elif choice == "2": if not students: print("Add student first!") else: roll = input("Enter student roll number: ") subject = input("Enter subject name: ") time = float(input("Enter time studied (hours): ")) record = {"roll": roll, "subject": subject, "time": time} records.append(record) print("Study record added!") # 3. View Study Records elif choice == "3": if not records: print("No study records found.") else: print("\n--- Study Records ---") for r in records: print("Roll:", r["roll"], "| Subject:", r["subject"], "| Time:", r["time"], "hours") # 4. Count Subjects Studied elif choice == "4": print("Total study records:", len(records)) # 5. Total Study Time per Student elif choice == "5": if not records: print("No study records found.") else: print("\n--- Total Study Time per Student ---") for s in students: total_time = 0 for r in records: if r["roll"] == s["roll"]: total_time += r["time"] print(f"{s['name']} (Roll: {s['roll']}) → {total_time} hours") # 6. Strength & Weakness per Student elif choice == "6": if not records: print("No study records found.") else: print("\n--- Strength & Weakness per Student ---") for s in students: sub_time = {} for r in records: if r["roll"] == s["roll"]: sub_time[r["subject"]] = r["time"] if not sub_time: continue avg_time = sum(sub_time.values()) / len(sub_time) print(f"\n{s['name']} (Roll: {s['roll']})") for sub, t in sub_time.items(): if t >= avg_time: print(sub, "→ Strength") else: print(sub, "→ Weakness") # 7. Exit elif choice == "7": print("Thank you for using Student Study Manager!") break else: print("Invalid choice! Try again.")
Settings
Title :
[Optional]
Paste Folder :
[Optional]
Select
Syntax :
[Optional]
Select
Markup
CSS
JavaScript
Bash
C
C#
C++
Java
JSON
Lua
Plaintext
C-like
ABAP
ActionScript
Ada
Apache Configuration
APL
AppleScript
Arduino
ARFF
AsciiDoc
6502 Assembly
ASP.NET (C#)
AutoHotKey
AutoIt
Basic
Batch
Bison
Brainfuck
Bro
CoffeeScript
Clojure
Crystal
Content-Security-Policy
CSS Extras
D
Dart
Diff
Django/Jinja2
Docker
Eiffel
Elixir
Elm
ERB
Erlang
F#
Flow
Fortran
GEDCOM
Gherkin
Git
GLSL
GameMaker Language
Go
GraphQL
Groovy
Haml
Handlebars
Haskell
Haxe
HTTP
HTTP Public-Key-Pins
HTTP Strict-Transport-Security
IchigoJam
Icon
Inform 7
INI
IO
J
Jolie
Julia
Keyman
Kotlin
LaTeX
Less
Liquid
Lisp
LiveScript
LOLCODE
Makefile
Markdown
Markup templating
MATLAB
MEL
Mizar
Monkey
N4JS
NASM
nginx
Nim
Nix
NSIS
Objective-C
OCaml
OpenCL
Oz
PARI/GP
Parser
Pascal
Perl
PHP
PHP Extras
PL/SQL
PowerShell
Processing
Prolog
.properties
Protocol Buffers
Pug
Puppet
Pure
Python
Q (kdb+ database)
Qore
R
React JSX
React TSX
Ren'py
Reason
reST (reStructuredText)
Rip
Roboconf
Ruby
Rust
SAS
Sass (Sass)
Sass (Scss)
Scala
Scheme
Smalltalk
Smarty
SQL
Soy (Closure Template)
Stylus
Swift
TAP
Tcl
Textile
Template Toolkit 2
Twig
TypeScript
VB.Net
Velocity
Verilog
VHDL
vim
Visual Basic
WebAssembly
Wiki markup
Xeora
Xojo (REALbasic)
XQuery
YAML
HTML
Expiration :
[Optional]
Never
Self Destroy
10 Minutes
1 Hour
1 Day
1 Week
2 Weeks
1 Month
6 Months
1 Year
Status :
[Optional]
Public
Unlisted
Private (members only)
Password :
[Optional]
Description:
[Optional]
Tags:
[Optional]
Encrypt Paste
(
?
)
Create Paste
You are currently not logged in, this means you can not edit or delete anything you paste.
Sign Up
or
Login
Site Languages
×
English