Knowledge Gate
Ask Me Anything⌘K
CartChat
Sign in

Browse topics

  • GATE CS Preparation24
  • Placement Preparation99
  • MCQ Practice219
  • CS Fundamentals200
  • Coding & Skills152
    • Web Development17
    • DSA & Algorithms31
    • ML & Data Science17
    • Programming Languages87
      • Java18
      • Python17
      • C17
      • C++17
      • Programming Languages Survey17
  • Govt Teaching Jobs98
  • Teaching Eligibility Tests32
  • Govt Jobs57
  • Banking & Insurance84
  • PSUs28
  • Railways11
  • PG Entrance Exams28
  • UGC NET35
  1. Blog
  2. Coding & Skills
  3. Programming Languages
  4. Python

Python

17 articles in this topic

String Problems in Python for Coding Rounds: Palindromes, Anagrams and Compression Solved

Python turns common string problems into one-liners, but interviewers usually remove that shortcut next. Learn the Pythonic and manual solutions for three recurring patterns.

Updated 30 Jul 2026·6 min readPython

Python Functions Deep Dive: *args, **kwargs, the Mutable Default Trap and LEGB Scope

Trace the shared-list default, unpack extra arguments, and follow Python's LEGB lookup so familiar function snippets stop producing surprising output.

Updated 29 Jul 2026·5 min readPython

Python vs C for TCS NQT: Which Language to Pick for the Coding Section

Choose Python or C for TCS NQT by comparing input speed, code length, execution and your existing practice, then lock the choice with a focused three-week routine.

Updated 24 Jul 2026·5 min readPython

Python Interview Questions for Freshers 2026: Core Language, Data Structures and Coding

Prepare concise, accurate answers to Python fresher interview questions, then test your object model on mutable defaults, complexity, coding patterns and output traps.

Updated 26 Jul 2026·6 min readPython

Python Output-Based Questions: 13 Solved Snippets

Trace 13 compact Python snippets on references, slices and mutation. Each example gives the output first and then explains the object-level reason.

Updated 20 Jul 2026·5 min readPython
Previous12
KnowledgeGateKnowledgeGate

India's AI-powered learning platform for GATE, PSUs, UGC-NET, placements and coding.

Explore

  • All Courses
  • Blog
  • Community
  • KARTAVYA

Company

  • About Us
  • Careers
  • Contact Us
  • Feedback
  • System Status

Legal

  • Privacy Policy
  • Terms of Service
  • Refund Policy

Explore by category

  • Free Courses
  • GATE
  • NET
  • Govt Teaching Jobs
  • Placement Preparation
  • Coding & Skills
  • Computer Science Fundamentals
  • PSU's
  • Govt Jobs
  • Govt Teaching Eligibility Tests
  • Banking & Insurance
  • Railways
  • PG Entrance Exams

© 2026 KnowledgeGate AI Private Limited. All rights reserved.