This repository contains Python programs and files I created during my Class 12 practicals. These programs are based on the CBSE Class 12 Computer Science syllabus and cover basic programming concepts.
- Program_01_Arithmetic_operations.py
- Program_02_Number_is_perfect_or_not.py
- Program_03_Number_is_Armstrong_or_not.py
- Program_04_factorial_of_entered_number.py
- Program_05_to_enter_number_of_terms_and_t...
- Program_06_to_reverse_a_string.py
- Program_07_to_check_a_string_if_its_palindro...
- Program_08_read_a_file_line_by_line_and_print...
- Program_09_remove_all_the_lines_that_contain...
- Program_10_read_a_text_file_and_display_the_...
- Program_11_Create_a_binary_file_with_name_a...
- Program_12_write_a_random_number_generat...
- file1.txt
- file2.txt
- myfile.txt
- student.dat
- Clone the repository:
git clone https://github.com/scriptsledge/Class_12_Practical_Programs.git- Open any
.pyfile in your favorite Python IDE or text editor. - Run the script using Python:
python filename.pyThese programs were my first step into Python programming. They cover foundational concepts such as:
- Arithmetic operations
- Perfect and Armstrong number checks
- String manipulation
- File handling
- Binary file creation and random number generation
Feel free to use and modify these programs for your learning purposes. If you have any questions, feel free to reach out.
- GitHub: scriptsledge
- Email: scriptsledge@gmail.com