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
54 views
0
Set common conditions for if statements

When setting the if statement condition, I would like to know if there is a way to set the common condition only once with one variable or another.If you set it as a variable, true false is set as the...

2 years ago

2 answers
29 views
0
Baekjun 1439 Python question

S = input()count = 0for i in range(len(S)-1): if S[i] != S[i+1]: count += 1print((count + 1) // 2)This one and S = int(input())count = 0for i in range(len(S)-1): if S[i] != S[i+1]: count += 1print((...

2 years ago

1 answers
22 views
0
There is no Python factor Error TypeError: Queue() takes no arguments

TypeError: Queue() takes no argumentsQueue() keeps saying that there is no factor, but isn't maxsize=10 in ()?

2 years ago

1 answers
44 views
0
I want to know how to print out the elements in the Python list and calculate them.

It's a problem.Source list output, one element output of arr in a line Create List Store the obtained mean in listA, or listB according to half Output listA and listB my coding.The price should be as ...

2 years ago

1 answers
14 views
0
I wonder what Python while a and b means

while jew and bag>=jew[0][0]:I wonder what the meaning of while a and b means in this phrase

2 years ago

1 answers
90 views
0
Python if question

I am developing a simple text game as a hobbyWhether you're going out hunting or resting, you're going to divide the choices by numbers 1 and 2 through the if statementI don't know if it's because it ...

2 years ago

1 answers
16 views
0
Python question.

import sysN=int(input())p=[]p=list(map(int,sys.stdin.readline().split()))I want to change it to input in this phrase, but why can't I change input in N to sys.stdin.readline() by changing the int valu...

2 years ago

1 answers
65 views
0
It's a question from Python if

a = input()b = input()cnt = 0n = 0 if a[n:n + len(b)] == b:It's a grammar question, but I don't know the meaning of the last if question Did you slice a?

2 years ago

1 answers
16 views
0
How can I work on the contents in multiple folders at once?

I'm a beginner at Python. Maybe it's because I learned Python through Google search only what I needed thenThere's no foundation < To ask you a question,We set up a Python workspace and use it My .py ...

2 years ago

1 answers
17 views
0
How do I drop two Python objects?

This is the code. When you do that, If you run it, on the screen One rectangular shape, white and one red, were successful.However, the original position of the figure is one (0,0), and the other (500...

2 years ago
« - 454 - »

© 2024 OneMinuteCode. All rights reserved.