▼ Popular
Code humanizer
Free mode
100% free
Freemium
Free Trial
Featured matches
-
Sahil Mohan Bansal🙏 247 karmaNov 13, 2024@CodeRabbitReducing manual efforts in first-pass during code-review process helps speed up the "final check" before merging PRs -
Great tool! Was very helpful in content production -
Notis is the AI intern one message away from your entire tool stack. Dictate ideas, delegate the busywork, and watch it update everything from your CRM to your socials — right from WhatsApp, iMessage, Telegram, or emails. In this week's release: - Added bulk sync of your Notis automation prompts with Notion. - Smart Router: Dynamic model upgrade & reasoning-effort escalation in orchestrator. - GPT-5.2 is the new base model. - GPT-image-1.5 for image generation. - Fixed: iMessage parser now strips markdown (iMessage doesn't support it). - Fixed: an issue preventing Notis from correctly editing your Notion databases. - Fixed: Advanced Voice Mode conversation context not always full loaded. -
This team took the time to understand the industry, problem and its users and designed a perfectly engineered solution. Kudos. -
Open
Windows Version Finally Arrived! Get your personal ChatGPT on Windows right now! Meet remio 2.0: Your Personal ChatGPT 1.💡 Personalized Insights, Powered by Your Knowledge Get uniquely tailored AI insights that go beyond generic answers by combining your personal notes and files. 2.🧠 Effortless Memory Capture, No Manual Organizing Automatically indexes all your connected files in real-time, making your entire knowledge base instantly chatable with AI. 3.🎙️ Unlimited Free Recording Transcription Record and transcribe any online or offline conversation, and instantly generate AI summaries with key decisions. 4.🌍 Unified Hub for All Your Data Integrates everything from websites to Slack and emails, creating a single, searchable encyclopedia for all your information. 5.🤖 Your AI Copilot, Everywhere You Work Get instant AI help to summarize, draft, and find answers in your editor or browser without switching apps or breaking your flow. 6.🔒 100% Privacy, 100% Yours With a "Local First" design, all your information is securely stored on your device, keeping your knowledge completely private. -
Win more bets on Polymarket & Kalshi with AI forecastingOpen

-
One of the most accurate API's I've used for speech to text and summarization. Cost effective w/ bulk contracts too. -

-
AI-powered prediction market picks delivered weekly for $10/monthOpen

-

Other tools
- Spotlight: CodeRabbit (Code reviews)
-
-
Enterprise-grade open-source AI inference at unlimited scale.Open
-
I've been playing around with this for a few hours. It's made me say "WOW" too many times than i wish to admit. I'm going to follow this and see how it evolves. For now, i managed to create quite a nice Expenses app for personal use. | It did have some problems when it came to moving some components on other pages, but for how short the prompts it uses can be, it is really impressive. With some proper prompts it can generate some strong stuff.
-
This is not the case. You can create both a blog and a podcast with the free account. We have a support link, please use that and I would be happy to walk you through this if the videos did not help.
-
Open
-
Hi Rod, you did not click the "include" for each section you wanted to include. I did that for you so you can now see your page. Looks good so far.
-
OpenThis is my favourite, so handy and works brilliant - Didn't find the AI you were looking for?
-
WhatsApp and Messenger integrations don't work very well. Support team is very sporadic. Still couldn't get it to work consistently despite best effort to fix.
-
All I can say is WoW! I don't know too terribly much about Tarot, but my reading was 110% spot on. And I am not referring only to the fact of the cards drawn couldn't have come closer if I hand-picked them but it was the analysis of each card individually, as well as overall. I'll be using this regularly from now on.
-
Base44 is an AI-powered platform for building fully-functional apps with no code and minimal setup hassle. The platform leverages advanced AI technology to translate simple, natural language descriptions into working apps. Let’s make your dream a reality. Right now.
-
-
100% Free AI-powered website compliance audits in minutes.OpenUsed this tool to fix my compliance issues in a day. -
Amazing tool for beginner investors. Just enter your investment amount, risk tolerance, investment goal, investment timeframe, and get a portfolio in seconds.
-
Much more in-depth and relevant outputs from my existing chatGPT from the first interaction.
-
Stakly helped me launch my app super fast. Really impressed with how easy it was to use.
-
Introducing a New Era of Creation, Control, and Intelligence on Biela We’re excited to roll out another major evolution of Biela—one that expands what you can create, how you interact with AI, and how much control you have over your projects, security, and workflows. This update brings powerful new creative capabilities, deeper automation, improved usability, and enterprise-ready features designed to make Biela not just smarter, but truly hands-free when you want it to be. Here’s what’s new: New Creative Capabilities AI Video Generation You can now generate videos directly on Biela using AI. Transform ideas, prompts, and concepts into dynamic visual content without leaving the platform—unlocking new possibilities for marketing, storytelling, product demos, and more. Community-Powered Biela Library We’ve introduced the Biela Library, a shared space where you can access and reuse AI-generated images created by the Biela community. Discover inspiration, speed up your workflows, and build on top of proven visual assets. Next-Generation AI Image Quality We’ve enhanced AI image generation with Nano Banana Pro, delivering higher-quality visuals, improved consistency, and more accurate results across styles and use cases. Human + AI Interaction Redefined Live Assistant with Action Execution Biela now goes beyond chat. You can talk to the Live Assistant, and it will execute actions for you in real time—running tasks, managing workflows, and interacting directly with your projects through voice-driven commands. It’s like having an AI operator working alongside you. Expanded AI Power & Language Support New AI Models Added We’ve expanded Biela’s AI model lineup with: Claude Opus 4.5 Google Gemini 3 This gives you more flexibility to choose the best model for creativity, reasoning, performance, or scale—depending on your project’s needs. Python Project Support Biela now fully supports Python projects across the platform, enabling data processing, automation, backend services, scripts, and AI-driven workflows—all within the same environment. Smarter Feedback & Knowledge Management AI Change Transparency After each generation, the AI chat now shows the number of modified lines per file, giving you clearer insight into what changed and helping you review updates faster and with more confidence. Improved Knowledge Area UX We’ve refined the Knowledge Area with a clearer structure, improved navigation, and a more intuitive layout—making it easier to manage information and stay focused. Security, Billing & Account Control Two-Factor Authentication (2FA) We’ve added 2FA for enhanced account security, giving you stronger protection for your projects and data. Session Management Gain better visibility and control over your active sessions. Monitor logins, manage devices, and secure your account more effectively. Pay-As-You-Go Billing Subscribers can now enable Pay-As-You-Go usage, allowing flexible consumption beyond subscription limits—fully controlled by your own thresholds and preferences. Improved Invoices for Compliance Invoices now include full company details, making accounting, audits, and compliance simpler and more transparent. Faster Access & Improved Navigation Simplified Control Center We’ve streamlined and accelerated access to the Control Center, reducing friction and helping you get where you need faster—whether you’re managing projects, settings, or AI tools. Built for Scale, Creativity, and Control This update strengthens Biela across every dimension: Create more with AI video, advanced images, and shared libraries Do more with voice-driven action execution Move faster with clearer feedback and improved UX Stay secure and compliant with enterprise-ready controls Whether you’re building content, applications, automation, or entire AI-powered workflows, this release makes Biela more powerful, more flexible, and more human than ever.
-
Ellie, your AI for crafting personalized email replies.Open
-
Introducing the new Mocha brand! Also, our coding agent got a lot of upgrades: - improved memory with continuous compaction - access to many more tools internally like image generation (nano banana) and documentation fetching - speed improvements
-
Best tool to interact with local AI and search your local files. Instant insights from files and loved the inline citation feature so that I know where the answer is coming from. I can easily verify answer and know more about the context.
-
My favourite AI application. Great clean UI and even better pricing.
-
Rocket is fast as heeeelll for spinning up prototypes when an idea hits. I've shipped small tools and MVPs with this as the foundation, saves days of boilerplate setup. Great one :)
-
Super easy to use and completely open source.
-
-
Amazing deep research feature! Haven't seen this level of execution through any other tool. It gives a designed socket to view a presentation at the end.
-
OpenI built Remy to solve a problem I face every day: Newsletter overload 📬 Remy is your personal AI assistant that summarizes all your newsletters into a single digest email. Go from a cluttered inbox to a clear, concise briefing in one go.
-
SCORM-compliant, Interactive course builder, personalized learning, tools instructional designers, Teacher toolsOpenI’ve been using Mexty for a few weeks now and it honestly makes lesson creation so much easier. The interface is clean, and I can build interactive content in minutes without needing to code. It’s been super helpful for saving time and still getting professional results. -
-
Hey TAAFT 👋 I'm Vincent, the founder of BlogSEO. I created BlogSEO with one goal in mind: automating SEO for busy entrepreneurs. As a multiple-time founder myself, I never had the time to take care of SEO for my past projects. I knew SEO was one of the most efficient acquisition channel, but I just couldn't spend time creating content and setting up a blog for my projects. I was busy building the features, answering customers and running the business. That's why I created BlogSEO. For ambitious builders and business owners that know the power of ranking on Google and getting cited by ChatGPT to get leads, but don't have the time to take care of it. BlogSEO fully automates your SEO strategy: you just need to put your website URL, connect it in a few clicks and fresh SEO-friendly content will start appearing on your website daily. BlogSEO was designed to really work for you and not the other way around, that's why it works out of the box with 0 setup and is fully automated by default. But if you prefer to have more control over your content, you're able to do so by customizing keywords, targeting competitors and review the SEO content before it's published. I hope this tool will help you as much as it helps me getting organic traffic on my websites! Keep Scaling 🚀! Vincent
-
The leading generative media models on fal combined with top-earning real-world creative talent on Contra is a powerful combination. Feedback to fuel the future of creative ai.
-
-
the founder is cool, definitely a recommendation if you have personal requests and grow the app along with you.
-
Hi! I'm Regitze, founder of Digibate - your AI-powered marketing assistant built especially for small businesses and solopreneurs. We help you create, schedule, and publish content effortlessly across platforms, including product photoshoots, social posts, newsletters, and more. We're constantly working on improving Digibate, and your feedback means the world to us. If you have any thoughts, ideas, or wishes for future features, please don’t hesitate to share - we’d love to hear from you! 💡
-
-
Turn everyday items into enriching learning experiences.Opentried this tool and while it wants you to sign up at some point, it does provide some good options whenever you run out of ideas, definitely recommend it
-
Like copilot, but for power users. Nice for my n8n workflows command center
-
This is without doubt, the fastest and easiest way to compare and test different AI models side by side
-
-
Open
-
Turn interview anxiety into confidence with AI-powered practice and real-time feedback.OpenNice concept.. If the AI can actually simulate realistic interviews, this could be super useful. -
you get 50 credits to generate it costs 80 credits its a cash grab
-
Prevent AI data breaches with real-time risk management.OpenNot just alerts - real time visibility for Slack, Google Workspace, and AI APIs to stop risks before they become breaches -
Thanks for the feedback! Would love to hear what you’d like to see next
-
Open👋 Karl, Co-founder here. We built IRL PLAYground because we believe a child’s first contact with AI should be ethical, creative, and human-centered. Not a tool that replaces their teachers and play environments, but one that works alongside them to unlock imagination and the potential of learning spaces. This first release focuses on the invisible work teachers carry: lesson planning, materials, classroom flow. Not flashy, but foundational. We didn’t build an MVP. We built the infrastructure of play. And this is just the start. It’s designed to be in classrooms now, and soon we’ll bring it into the home. If you’re a teacher or parent, we’d love your feedback, all ideas welcome. Share to those that need it, and let’s build this together. -
Hey this is Tan, I'm the creator of NotesBot. I created this tool because I needed it for my own meetings. After using myself and getting great summarization reviews from my peers, I decided to release it to the public. After release, we realized people were also using it for Dungeons and Dragons, I then added a DnD mode. This tool is non-invasive, very easy to set up, and perfect for meetings. I hope you enjoy using it!
-
Great tool for engaging customers and repurposing content! I also made a video on it https://youtu.be/cIEUz3bxPRc
-
-
It's a powerful AI-powered personal knowledge system that brings together links, files, notes, and documents in one unified workspace. It's like Notion meets Raindrop meets Google Drive, but with an AI layer that helps you resurface forgotten content, cluster related topics, and even draft documents based on your saved materials.
-
Hello everyone, As a AI power user, I constantly faced the multi-tab scramble and the uncertainty of getting truly reliable answers from various AI tools. That frustration led me to build Singulairity AI. My goal was simple: to create a unified, intelligent, and trustworthy platform where you can access leading AI models with unprecedented clarity and efficiency. I poured my efforts into features like Intelligent Auto-Routing, Side-by-Side Response Comparison, and the innovative Truth Mode to give you the confidence I always sought. I truly hope Singulairity AI enhances your workflow. Please review the tool and share your invaluable feedback; it's essential for Singulairity's continued evolution.
-
Your AI stream companion that entertains chat and boosts tipsOpeninteresting tool, thank you -
Hey, wonderful TAAFTers! We made outwrite.ai to quickly generate articles, blogs, and posts that are structured in the EXACT format that AIs prefer to find, scan, and include your brand when buyers are asking questions about your category. You become part of THE answer AI gives. Most brands still create content for Google's algorithm: keywords, backlinks, LOTS of money, and...hope. AI search doesn't work the same way as Google. When someone asks ChatGPT, Gemini, or Perplexity for a product recommendation, the AI produces a single answer. If your brand isn't in that answer...you're invisible. That's the challenge outwrite.ai solves: LLM citation optimization. Now, page 10 brands can get cited along with Fortune 500 market leaders...without a penny spent on ads.
-
AgentFuel.bot auto-generates social media content specifically for the real estate industry, has a document chat tool and the road map is super strong. If you are a commercial or residential real estate agent, mortgage loan officer or in title, anywhere in the world this tool is worth a look.
-
Meet Nume, an AI CFO that proactively watches your finances 24/7. You can connect to your ERP and bank account and be live in 5 min. Once setup, Nume will automatically start generating proactive insights. We built Nume as the solution we always wanted and needed ourselves. Designed, validated, and co-created by by our in-house team of 30+ CFOs.
-
look nice! I still explore more on this platform, and this tool is the first and the best one I have even used!
-
Hey TAAFT! 👋 I'm Advait from OpenGradient, and we're thrilled to launch MemSync - a unified memory layer for all your AI apps. Why we built this: Like many of you, we were frustrated by AI's amnesia problem. Every time we switched between ChatGPT, Claude, or Perplexity, we had to start from scratch - re-explaining our context, preferences, and ongoing projects. The most advanced AI models in the world couldn't remember a conversation from yesterday. What's unique about MemSync: - Universal compatibility: One extension that works across ALL major AI platforms - not locked to a single tool - Intelligent context sync: Your conversations flow seamlessly between different AI models - Privacy-first architecture: End-to-end encryption ensures your memories stay yours - Zero setup friction: Install once, and every AI tool instantly remembers you What we're most proud of: The simplicity. While others are building complex integrations, we focused on making memory "just work." Users tell us it feels magical when Claude picks up exactly where ChatGPT left off. One founder said it's "like giving AI a shared notebook about me that actually persists." We've been quietly testing with a small group, and the feedback has been incredible - people save 15-30 minutes daily just from eliminating repetitive context-setting. Today's launch includes our Chrome extension with support for ChatGPT, Claude, Grok, and more coming soon. Relevant Links: • Website: https://www.memsync.ai/ • Github: Open-source soon!
-
-
OpenMagnetify's clean and simple interface makes it incredibly easy to jump in and start creating marketing materials. The lead magnet templates are a total game-changer for creating lead magnets to grow our list. Magnetify has already become an essential tool for our marketing strategy! -
The models here really help w/ finding investment properties.
-
We’ve just launched CASi Scout — a product that helps writers generate smart, relevant content ideas based on breaking news, strategic angles, and their client’s audience and product.
-
Open
-
As someone who's worked with food businesses, I know how crucial visual appeal is for driving sales - especially in the digital space where customers make split-second decisions based on photos. What stands out to me is how this tool addresses a real pain point. Professional food photography is expensive and time-consuming, but this AI solution makes high-quality food images accessible to everyone from small restaurants to food bloggers. The instant transformation aspect is particularly valuable for businesses that need to update their menus frequently or manage multiple locations. I can see this being a game-changer for food delivery apps where compelling visuals directly impact order volume. The fact that it's specifically trained for food photography rather than being a generic photo enhancer shows thoughtful development. Would love to see some before/after examples if the developers are sharing any - the concept is solid and fills a clear market need. Definitely keeping this on my radar for future projects!
-
We're live folks! Do check us out and drop your feedback or requests.
-
Hi folks - I'm Charles, the founder of Wizardly. As a sales guy I originally built this app to create training videos for sales reps 10X faster. Many friends started using Wizardly to create all sorts of tutorials for tools I'd never heard of. Excited to get feedback and hear how I can make this app the best how-to video generator on the market.
-
Recently released an AI Chat Bot for websites and was testing different models for my ”conversion-focused” approach, this would have made it so much easier! Could be interesting to be able to plug into this via API with all my data
-
-
-
I gain time with TopFrog! It is very helpful, and I recommend it highly!
-
Just tried the tool and printed my first 3D model, and I’m honestly surprised by how good it came out. It was super easy to use, and the final print matched my reference image perfectly. Congrats to the Mimetic Labs team for building such a simple but super cool tool.
-
This its best AI bot i have used, its very quick and accurate, nice experience, its like im talking to real human with all emotions
-
Build customized Proof-of-Concepts (POCs) and full applications in hours - not weeks.Open -
Incredibly easy way to connect to Amazon products and pull information
-
Ahaha Sam was really nice to me, we did some brainstorming together. It s great for getting some strategies ideas, especially if you have a small business like me
-
OpenHi Jay- Thank you for the review and for pulling together that video. Please reach out to us at [email protected] as we would love to use your video on TAAFT. Best, David -
Hey everyone! It's Noel, cofounder of Tinkery. We launched recently, growing rapidly and always welcoming feedback to continue improving the platform. Please reach out!
-
tried this tool on a random photo and it hit quick. gave me three likely matches with percents and simple care tips so i actually learned something. free and cute app
-
I use Olostep to gather data from millions of e-commerce pages for my AI shopping assistant service and it's the most cost-effective and reliable product on the market
-
Open -
Amazing tool to compare the top AI models. Been waiting for something like this!
-
Protaige really made my life easier in creating Campaign across different platforms in a single click just by providing my Briefs. Thank you! Awesome Time Saving AI Tool. Really loved using it.
-
This is the best I have tried! I type in my own lyrics and it gives me two versions of a song using my exact lyrics. One was actually so good it gave me goosebumps! Great work here, dev 👍 Thank you 🙏
-
I would call it a "documentation generator for MCP". Would be great to see support for LM Studio too. Other than that, it looks like this tool already follows the best practices for MCP docs. For example, here is a demo for web scraping with Tavily: https://mcpshowcase.com/p/mcp-server-directory/tavily-mcp-server The docs on how to connect your MCP to different AI assistants are essential, but also a pain to maintain on your own. Also nice to see the auto-generated use cases and sample chats!
-
Love the app. Used it to find a good balance in performance to play at a higher graphics setting but with over 100 FPS which was really useful in making Marvel Rivals more enjoyable to play this season!
-
Hey! Thanks for your interest — we’ve opened up applications for the Early Access Program of our AI Agent for Mobility and Logistics. You can apply here: https://getswitch.io/agentic-ai-for-mobility-and-logistics/
-
Super helpful tool! Saved me hours reading comments and gave great insights. Highly recommend for YouTubers!
-
Generate catchy, SEO-friendly titles to boost sales.OpenHi Alex! It's working for me, try again -
Assign Jira tickets directly to Cursor agents and get PRs and Previews.Open
-
We built Stella to help decode verbal and nonverbal behaviour during video calls into clear next steps. It auto-notes, summarizes, and flags where attention rose or dropped—then points to the exact clip to coach the rep. We’ve tightened discovery and sped up follow-ups without rewatching meetings.
-
As the founder of BuildOrNot.io, I’m excited to announce that our platform has just been launched. At this early stage, our most valuable asset is your feedback. I warmly invite you to try BuildOrNot.io and share your thoughts—both the strengths you find useful and the shortcomings we should improve. Your ratings and comments will directly help us refine the tool, enhance the user experience, and make the platform more valuable for every entrepreneur. Your voice matters, and I truly appreciate your support on this journey.
-
threw it at our dusty help center and it cooked. pulled context from tickets and updates and wrote clean articles and faqs. inbox got quieter fast. solid tool.
-
Build AI Mobile & Web Apps - No Code, No Api KeysOpenI built my fitness app and published it to both App Store and Google Play in just 3 days. OnSpace AI handled all the mobile development complexity. I'm now earning from in-app subscriptions. -
Realistic couple photo merge and creative generation!
-
Been loving this tool so far, it's awesome to keep my inbox organized with the auto-tagging feature. I'll try the auto-draft as well, seems promising 🙏
-
Hi everyone! I’m part of the team behind Sidewalk Social. 👋 We built this tool to help local businesses stop stressing over Instagram and get back to running their shops. Seeing so many of you checking us out here is amazing! I’m hanging out in the comments today, so if you have any questions about how the automation works, feel free to ask. If you’ve had a chance to test it out, we’d be incredibly specific for your honest rating or feedback. It really helps us improve! Cheers!
-
AI agent for Jupyter: Generate code, run cells with natural language.Open
-
Been looking forever to find an app like this! Reviews supplement and provides helpful information to optimize your health
-
We’ve been working closely with early beta partners (from startups to global brands) to shape Clamor, and today’s launch is a huge milestone for us. Would love your thoughts, feedback, and honest takes as your input will help us make Clamor even better! What’s the one type of cultural or community insight you wish you had at your fingertips?
-
I built NewsForYou.ai to make staying informed effortless and meaningful. Your personal AI briefing delivers curated news tailored to your interests — plus smart extras like business insights, tech repos, or daily curiosities to help you grow every day. 🚀
-
Open
-
Grotto Slice – Your Shortcut from Image to KlaviyoOpen
-
Weesp makes your task list proactive. Instead of hunting tasks across tools, Weesp captures them straight from Slack and Email (for now :P). It automates follow-ups, takes accountability for your tasks, and eliminates the hours wasted maintaining task systems. Operate where your work happens —> no context switching, no dropped balls, just a team that actually follows through. Try Weesp free, sign up to the waitlist today.
-
It helped me save so much time! Thank you to whoever made this.
-
Never miss another customer with 24/7 AI Voice Assistants. No code setup.Open -
AskNova Dream Interpretation helps people reconnect with their dreams in a more vivid and meaningful way. Instead of just typing out what you remember, the experience combines immersive soundscapes and guided prompts to bring back the feelings and details of your dream, making recall easier and deeper. It’s an AI-powered tool that is designed to feel more like a journey of self-reflection rather than a simple analysis.
-
Hi folks, I'm Alexis the founder of this tool. Let me know if you have any questions or run into any issues – I'll be happy to receive your messages.
-
Had an incredibly insightful meeting with the team. It’s definitely worth your attention if you’re planning to automate your property management.
-
Hey Thanks for the insightful review. You have raised some important points. It is $9/month and we do have a trial now and adding more options.
-
I have used cheers to review several different companies around me and it has been a much better experience than traditional methods like QR codes. I love seeing cheers when I try out new businesses.
-
Open
-
I’d say this is one of the best chatbots I’ve used so far. The side-by-side comparison view is super handy for spotting bias and made-up, and the custom bots actually have decent memory, which is rare. Just a heads up: no image generation or voice mode. Other than that, it’s pretty solid.
-
All-in-one AI kitchen assistant: pantry management, recipe generation, meal planning, shopping listsOpenThis app is great- I use it weekly to create meal plans, recipes, and reduce waste and save money by using leftover ingredients that I already have!
-
-
Slash Your Tech Stack Costs by 40-50%. Helping SMBs save $$$Open
-
I am a SRED consultant. The ability to upload documents and instantly get SR
-
Your expert guide to fine jewelry, sizing & gift ideasOpen
-
Create digital vCards and WhatsApp shops in minutes.Open
-
Instant coaching for women leaders, no calendars required.Open
-
Really love using PR.co. Super easy to set up and our team can share press stuff way faster now. It saves us a ton of time and just makes the whole PR job less stressful.
-
-
Your AI-powered file organizer that respects privacy for macosOpenGood Replacement for the sparkle. Keep it up
Ask the community
Nabasa Isaac
🙏 1 karma
Oct 31, 2024
# Part (a): Add a Student
def add_student(student_list, student_id, name, age, course):
# Check for unique student ID
for student in student_list:
if student['student_id'] == student_id:
print(f"Error: Student ID {student_id} already exists!")
return
# Add the new student
student_list.append({
'student_id': student_id,
'name': name,
'age': age,
'course': course
})
print(f"Student {name} added successfully.")
# Part (b1): Find a Student by ID
def find_student_by_id(student_list, student_id):
for student in student_list:
if student['student_id'] == student_id:
return student
print("Student not found!")
return None
# Part (b2): Remove a Student by ID
def remove_student_by_id(student_list, student_id):
for student in student_list:
if student['student_id'] == student_id:
student_list.remove(student)
print(f"Student ID {student_id} removed successfully.")
return
print("Student not found!")
# Part (c): Class Definitions
class Person:
def __init__(self, name, age):
self.name = name
self.age = age
def __str__(self):
return f"Name: {self.name}, Age: {self.age}"
class Student(Person):
def __init__(self, name, age, course):
super().__init__(name, age)
self.course = course
def study(self):
print(f"Student is studying {self.course}")
class Instructor(Person):
def __init__(self, name, age, subject):
super().__init__(name, age)
self.subject = subject
def teach(self):
print(f"Instructor is teaching {self.subject}")
# Demonstration of polymorphism
student1 = Student("Alice", 20, "Mathematics")
instructor1 = Instructor("Bob", 40, "Physics")
print(student1) # Uses __str__ from Person
student1.study() # Calls study method from Student
print(instructor1) # Uses __str__ from Person
instructor1.teach() # Calls teach method from Instructor
# Part (d): Higher-order function for sorting students
def sort_students(student_list, key_function):
return sorted(student_list, key=key_function)
# Sample student list
students = [
{"student_id": 1, "name": "Alice", "age": 20, "course": "Mathematics"},
{"student_id": 2, "name": "Bob", "age": 22, "course": "Physics"},
{"student_id": 3, "name": "Charlie", "age": 19, "course": "Chemistry"}
]
# Demonstrate sorting by age
sorted_by_age = sort_students(students, key_function=lambda s: s["age"])
print("Students sorted by age:", sorted_by_age)
# Demonstrate sorting by name
sorted_by_name = sort_students(students, key_function=lambda s: s["name"])
print("Students sorted by name:", sorted_by_name)
Post

