+ 2
Can anyone give me knowledge about python
I'm new that's why i want to know as more as i can
5 Antworten
+ 10
That's why you are here.
Just open python and start getting knowledge
+ 7
Aayushi Singh ,
your profile shows that you already have started with the tutorial `python developer`. we can not see how far you already have gone, but it is recommended to continue learning from this tutorial. (the tutorials can be found at the `learn section`)
it is essential that we get all the basics, also that we do practicing as much as we can afford. you can find `code coach` exercises at the community section. they can be done in various programming languages, and they are marked with difficulty levels. they provide a task description and a sample input and output.
+ 3
You're in the right place!
You've started python course I can see. Keep doing courses, explore yourself, and let us know if you're facing any problems 🚀
Don't forget that you can master anything, including python by practice.
+ 2
Python is a high-level, dynamically-typed, and interpreted language, meaning it abstracts away many low-level details, manages memory automatically, and doesn’t require explicit declaration of variable types. It's known for being an "object-oriented" language, meaning it organizes code into objects and classes, but it also supports other programming paradigms like procedural and functional programming, making it flexible for different tasks. Python’s syntax is designed to be clear and concise, prioritizing readability, which helps developers write code quickly and reduces errors. It’s often described as an "interpreted" language because Python code is executed line-by-line by an interpreter, which makes debugging more accessible, though it can make the code slightly slower compared to compiled languages like C++.
+ 2
I can see you've started two courses already. Both are great. What you should understand is for new programmers, it will be challenging in the beginning to understand the core concepts. As you begin to make sense of those, the courses will become easier.
In the very beginning, you have to learn the basic components of a program.
1. There are variables. These hold the information, or data, that you will be working with. A variable can hold numbers or text or other things. For example, to add two numbers together, you need two numbers. Variables can be named anything you like. But let's say you use a and b.
a = 1
b = 2
c = a + b
print(c)
As you can see, the variables hold the actual numbers. Variables can change, or be assigned new values. Programming is a series of operations on variables. You start with some information, stored in variables, transform those somehow, and store the results in new variables. To start, it is all very simple. From basic math calculations in the beginning to handling large quantities of data as you progress.
2. There are functions, or methods. These are blocks of code that you use to perform operations on your data. The above sample shows the print() function. But you can write your own. Like this:
func add(a, b):
return a + b
a = 1
b = 2
c = add(a, b)
In that case, you have moved the logic of performing the math into a function/method called add(). Now you can do that with a simple command that you have created. c = add(a,b) uses the function you wrote to do the math and returns back the answer. While this example is very simple, the logic could also be far more complex.
You will have to understand variables, functions/methods, and soon you will learn about scope, data types, and you will learn about more functions built into Python.
It takes time. But once you get those basics down, you'll be able to write programs that do all sorts of things. For now, you'll have to push through those basic concepts. Just take your time and try to understand.