Write a Python Program To Find Out Whether a Student is pass or fails if it requires a total of 40% And at least 33 in subjects to Pass Assume 3 Subject And take Marks as an Input From the User. Code: sub1 = int ( input ( "Enter The Mark Of Subject 1 :" )) sub2 = int ( input ( "Enter The Mark Of Subject 2 :" )) sub3 = int ( input ( "Enter The Mark Of Subject 3 :" )) if sub1 < 33 or sub2 < 33 or sub3 < 33 : print ( "Fail Due To You secured Less Then 33 Marks In Subject." ) elif (( sub1 + sub2 + sub3 ) / 3 ) < 40 : print ( "You Are Fail Due To You Got Less Rhen 40% marks" ) else : print ( "You Are Passed!" ) Output: Enter The Mark Of Subject 1 :25 Enter The Mark Of Subject 2 :34 Enter The Mark Of Subject 3 :55 Fail Due To You secured Less Then 33 Marks In Subject. Enter The Mark Of Subject 1 :85 Enter The Mark Of Subject 2 :99 Enter The Mark Of Subject 3 :25 Fail Due To You secured Less Th...
Introduction: In today's digital era, technology has transformed various aspects of our lives, including how we manage attendance in different settings. Traditional methods of attendance tracking, such as paper-based sign-in sheets or manual entry into digital systems, can be time-consuming and prone to errors. However, with advancements in computer vision and machine learning, we can now create more efficient and accurate attendance systems using face recognition technology. What is Face Recognition? Face recognition is a biometric technology that identifies or verifies individuals by analyzing and comparing patterns in their facial features. It involves capturing an image or video of a person's face, extracting unique facial features, and matching them against a database of known faces to make a positive identification. Building a Face Recognition Attendance System: In this blog post, we'll explore how to build a simple face recognition attendance system using Pyth...
Write A Python Program, Create n Empty Dictionary Allow 4 Friends To, Enter Their Favorite Programming Language As values and User Keys as their Name Assume That The Names Are Unique. Code: FavLang = {} a = input ( "Enter your Favorite Language Raka : \n " ) b = input ( "Enter your Favorite Language Rama : \n " ) c = input ( "Enter your Favorite Language Raaj : \n " ) d = input ( "Enter your Favorite Language Raja : \n " ) FavLang [ "Raja" ] = d FavLang [ "Raka" ] = a FavLang [ "Rama" ] = b FavLang [ "Raaj" ] = c print ( FavLang ) Output: Enter your Favorite Language Raka : Python Enter your Favorite Language Rama : C Enter your Favorite Language Raaj : C# Enter your Favorite Language Raja : Java {'Raja': 'Java', 'Raka': 'Python', 'Rama': 'C', 'Raaj': 'C#'} Download Code
Comments
Post a Comment