What is Python ? ---> Python kya hai ?



Python ek general puropose, high level, interpreted programming language hai jiska design code readability pe focus karte hue banaya gaya hai, 1991 me Guido van Rossum ne python discover kiya.




Interview Question :- Compiler aur Interpreter me difference kya hai ?


Compiler vs Interpreter

Programming languages ko machine-readable banane ke liye do tarah ke translators use hote hain:

Feature Compiler Interpreter
Mechanism Pure code ko ek saath scan karta hai. Code ko line-by-line execute karta hai.
Speed Execution fast hota hai. Execution thoda slow hota hai.
Errors Saari errors end mein dikhata hai. Pehli error par hi stop ho jata hai.
Output Intermediate Object Code banata hai. Koi intermediate file nahi banti.
Examples C, C++, Java, Rust Python, JavaScript, Ruby
Python Insight: Python ek interpreted language hai, lekin ye internally pehle Bytecode mein compile hoti hai aur phir Python Virtual Machine (PVM) ke through interpret hoti hai.

Python ka sabse pehela code....



Python
In [1]:
1
Output