Skip to content

Cool Python Scripts and Programs | Various Examples and References.

License

Notifications You must be signed in to change notification settings

offensive-vk/Learn-Python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

What is Python ?

Python is a high-level, general-purpose programming language. Its design philosophy emphasizes code readability with the use of significant indentation.

Python is dynamically typed and garbage-collected. It supports multiple programming paradigms, including structured (particularly procedural), object-oriented and functional programming. It is often described as a "batteries included" language due to its comprehensive standard library. Python consistently ranks as one of the most popular programming languages.

Guido van Rossum began working on Python in the late 1980s as a successor to the ABC programming language and first released it in 1991 as Python 0.9.0. Python 2.0 was released in 2000. Python 3.0, released in 2008, was a major revision not completely backward-compatible with earlier versions. Python 2.7.18, released in 2020, was the last release of Python 2.

Quick Links and Navigation

For Any Information About Contribution and Documentation of This Repo.

Please Refer to

Sample Code

print("Hello Python !!")
print("===============\n")

# input a which is a number
a = int(input("Enter A Number : "))

# input b which is a floating number
b = float(input("Enter B Float : "))

# input a which is a string
c = input("Enter String : ")
print("\n=========================================\n")

# special format specifiers
print(f"Values are: \nA: {a}\nB: {b}\nC: {c}")
print("\n - New line\n")
print("\t - Tab Space\n")
print("\v - Vertical Tab Space\n")
print("\' - Single and \" Double Quote\n")

print("\n============ The End ===================\n")

How to Actually Learn Python from Here

  • Read Complete Documentation of Python Given Here.

  • Explore Readme.md File Given here.

  • Learn Why Python is so famous and flexible.

  • Setup Your Python Environment / IDE.

  • Navigate to Basic Python Programs folder for very easy programs.

  • Open Any Program you like, e.g First.py.

  • Start Learning Fundamental Concepts like -

    • Basic Syntax of Python
    • Variables and Identifiers
    • Loops
    • Conditional Statements
    • DataTypes - Primitive
    • Functions Expressions
    • Lists
    • Dictionaries
    • Tuples
    • Strings
  • Build A Strong Foundation of Basis / Core Concepts

  • Slowly Slowly, Learn More Concepts , and Keep Revising Everything.

  • Navigate to Functions Directory to learn more about functions.

  • Navigate to Libraries Directory to learn more about Libraries.

  • Keep Revising Your Recently Learned Concepts.

  • At last, Navigate to Advanced Directory to learn more about advanced concepts in Python.

  • Always ready to tackle any errors and exceptions occurred while coding.