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
112 views
0
I have a question about psychedelon data load

For example in \Anaconda3\Lib\site-packages\sklearn\datasets\data in the Cycitrun folderData sets include data such as boston_house_pries, breath_cancer, and iris. The example data set isIt's always l...


1 answers
82 views
0
I have a question about Python class

Hello, I'm a beginner who just started Python. I'm new to the idea of class, and I'm creating a class that's associated with square columns. I've almost finished everything else, but I don't know how ...

2 years ago

1 answers
18 views
0
Can't you shorten this Python code to one line?

listx = 100for i in list1: listx -= iIf you look at the Python for example, there are some of these features in one line, most of them[i*2 for i in list1]It's an example of appending a list like this....

2 years ago

3 answers
21 views
0
Python beginner's question. Why doesn't aa!=bb!=cc!=dd work?

while True: aa=random.randint(1,10) bb=random.randint(1,10) cc=random.randint(1,10) dd=random.randint(1,10) if aa != bb != cc != dd: breakHere if aa!=bb and bb!=cc and aa!=cc and aa! =dd and bb!...

2 years ago

1 answers
16 views
0
Can I use the free tml template to develop a commercial project website?

Hi, everyone.In the same situation when the company is in a hurry to proceed with a project and there is not enough time,If you say that you don't entrust outsourcing when you make a website, do you u...

2 years ago

1 answers
73 views
0
Python recursive function example question.

building = [Gyeongbokgung, 1395, [Sungnyemun, 1396, [Changdeokgung, 1405]]This building string is Gyeongbokgung Palace 1395 Sungnyemun 1396 Changdeokgung Palace 1405 I'm going to put it this way.By ...

2 years ago

1 answers
65 views
0
I have a question about the Python snail arrangement

n=4m=3k = {}a=1b=0c=0while c< m*n: for i in range(abs(m)): b=b+1 c=c+1 k[(a,b)] = c if c==m*n: break for i in range(abs(n-1)): a=a+1 c=c+1 k[(a,b)] = c if c==m*n: break for i in range(abs...

2 years ago

1 answers
44 views
0
List index out of range occurred while removing Python list.

L = [2,4,5,8,9,10,3]length = len(L) for i in range(length): if L[i] < 5 : del L[i]print(L)I'm trying to extract a value less than 5 from the list, but I don't know why there's an errorTraceback (...

2 years ago

1 answers
13 views
0
Python Numbers Baseball Game Question: How to pick three numbers so that they don't overlap.

When I made the first three digits in number baseball, I originally made it random.randint (1,999), but then I got a duplicate number like 888. So I tried coding to make it without duplication. import...

2 years ago

2 answers
38 views
0
Operation of Python graph output through Excel. Average growth rate, MIN, MAX

import numpy as npimport matplotlib.pyplot as plt! [Image][1]data = np.genfromtxt (cement production.csv,delimiter=',')print(data[3:,])x = data[3:,0]y = data[3:,0]for col in range(1,7): plt.plot(x,dat...

2 years ago
« - 357 - »

© 2024 OneMinuteCode. All rights reserved.