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
11 views
0
I want to put $ in front of the number in Python, how do I do it?

Cash=6600.0AR=6200.0tne=25000.0TotalAssets=Cash+AR+tnenp=5000.0ap=25000.0TL=np+apCapitalstock=7000.0re=800.0totalEquity=Capitalstock+retotal=TL+totalEquityprint({0:-<42s}{1:<2}{2:-<42s}.forma...

2 years ago

1 answers
93 views
0
Is there a way to get all two possible pairs of bundles?

Let me give you a simple example.I want to create a code that obtains all two possible bundles when A={1,2,3,4}.The answer to the above number is (1,2)(3,4): {1,2,3,4} and (1,3)(2,4): {1,3,2,4}B=[1,2,...

2 years ago

1 answers
40 views
0
Python's 3rd largest method of calculation

def find_3rd max(L): L=[] m=L[0] for i in range(len(L)): if m>i: m=i L.pop(0) L.pop(1) return L[0] I'm going to take the integers into the list L and compare them one by one, sort the largest v...

2 years ago

1 answers
150 views
0
I can't put an integer on a string

I can't put an integer on the string, so what should I do?TypeError: unsupported operand type(s) for +: 'int' and 'str'for i in range (1,10): string=string+i


1 answers
78 views
0
Which do you use for indentation in Python, tab or space?

I indented it with a tap when I made the Python codeI'm asking because I heard that it's better to float it in space because the length of the tab is different between editorsHow are other Python deve...


1 answers
33 views
0
Can I use Python Library at Ruby On Rail?

Can I use Comoran, which analyzes Korean morphemes in Python libraries, to use it in the Ruby On Rails project?

2 years ago

1 answers
46 views
0
Mysql data insertion question in python.

Attempt to insert crawled data into mysql table.My code is def process_item(self, item, spider): self.cursor.execute(SELECT * FROM dmmactress_jpconvert WHERE jpname = %s AND koname = %s AND enname =...

2 years ago

1 answers
99 views
0
Error message when using subplot in pyplot: ValueError: Illegal argument(s) to subplot: (2, 10)

I'm a beginner who is practicing after reading a book by TensorFlow Golvin Hacker.I use the subplot of pyplot, but I wrote the same code as the book, but it emits an error message ㅜ 어떻게 Please hel...

2 years ago

2 answers
20 views
0
Recursive call from Eight Queens problem code...

I'm solving the Eight Queens problem with Python 3.5.1. The answer is 92, but it's 29. I don't think there's a problem with the algorithm, so what's the problem?It is a method of repeatedly finding a ...

2 years ago

1 answers
110 views
0
How to open multiple files using with open

You are creating a program that opens and modifies multiple files at once.with I want to open several files per line using the sentence, but it doesn't work because I write it like the code below I wa...

2 years ago
« - 338 - »

© 2024 OneMinuteCode. All rights reserved.