python tag

Python is a high-level, interpreted, 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.

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 and introduced new features such as list comprehensions, cycle-detecting garbage collection, reference counting, and Unicode support. Python 3.0, released in 2008, was a major revision that is not completely backward-compatible with earlier versions. Python 2 was discontinued with version 2.7.18 in 2020.

Python consistently ranks as one of the most popular programming languages. It is used by many organizations and companies. Pixar, Disney, Instagram and the developers of the Linux Kernel are among many of it's high-profile users, which includes many developers of Free and Open source software.

Reference: WIKIPEDIA

4650 questions


1 answers
87 views
0
Return Python if condition

For example, there is a csv file in a column (here, let's call it 'name') that has very many strings, such as a, b, c, d, e, f, g, h, i...After reading the csv file, I would like to return it to the a...

2 years ago

1 answers
42 views
0
What is the difference between statement and expression?

What is the difference between Statement and Expression?[Is there a way to execute the stored Python code in the form of a string?] I saw a comment here. I know the expression is in a smaller rangeI'm...

2 years ago

1 answers
48 views
0
Python numpy, help me

In vector operation,Vect1 Vect2 and those twoAddition, Deletion, Constant Multiplication, Inner ProductI'd like to print these four outIt's easy to add two more vects for the addition, but I don't kno...

2 years ago

1 answers
129 views
0
I'd like to divide the Python list into uniform sizes

A = [1,2,3,4,5, ..., 100]TheA = [ [1,2,3,4,5,6,7,8,9,10], [11,12,13,...,20],... , [91,92,...99] ]I'm looking for a way to change it like this.I think I can use this interlator, but the cost is too hig...

2 years ago

1 answers
82 views
0
Please tell me how to eterate the string

In C++, when approaching a string alphabetically for (int i = 0; i < str.length(); ++i) std::cout << str[i] << std::endl;I did it like this. What do I do with Python?

2 years ago

1 answers
18 views
0
Is there a standard way to check the type in Python?

I want to know which object is which typeWhat method is recommended when doing this?For example, to determine if objecto is str.

2 years ago

1 answers
86 views
0
Which is more accurate, time.clock() or time.time()?

Which is more accurate to use, time.clock() or time.time() when time is measured in python?For example, #1. time.clock()start = time.clock()#Something codeelapsed = (time.clock() - start)#2. time.time...

2 years ago

1 answers
19 views
0
Ask about Python descending order.

N1, N2, N3 = input('Enter three integer numbers : ').split()n1 = int(N1)n2 = int(N2)n3 = int(N3)print('Numbers in descending order : {}'.format(num))You want to put n1, n2, n3 in descending order in {...

2 years ago

1 answers
101 views
0
Python for

y = 0for i in range(4): Text(Point(-0.3, y), y).draw(win) y += 10 max = ????What I don't know is that I don't know what to do with the above maxLike that, y would be 0, 10, 20, 30I want to print 30 wh...

2 years ago

1 answers
19 views
0
A source that reads numbers by large numbers after entering a value

Other people explained the problem solving using the sort function, but if you use the for statement,I was wondering what I could do, and I was wondering if there's a way to reduce the sauceHere's the...

2 years ago
« - 271 - »

© 2024 OneMinuteCode. All rights reserved.