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


3 answers
132 views
0
Questions about global variables (python)

def print_sum(): a = 100 b = 200 result = a + b Inside print('print_sum() : ', a, ' and', b, 'the sum of ', result, '. ' )a = 10b = 20print_sum()result = a + bPrint ('print_sum() External: ', a, 'and'...

2 years ago

1 answers
19 views
0
Python: A program that receives a name and outputs it by family name (e.g., Kim, Lee, Park...)

I'm learning Python on my own. I organized it up to here, but I want to distinguish the end of the entry when I type the enter key without entering the number of participantsWhenever one's name is add...

2 years ago

1 answers
17 views
0
[Newbie to Python] There's an infinite number of print doors in the door

We need to make a code to determine the presence or absence of a waiting person using the while statement.If the answer is N, you must use break to exit!I wrote the script like this. waiting=input(\nI...

2 years ago

1 answers
14 views
0
Middle value output code during input integers

n = list(map(int, input().split()))n.sort()print((n[1]))I got a code to print out the middle of the integer value I enteredI don't understand how it works.

2 years ago

1 answers
25 views
0
Python The problem of comparing two given inputs by replacing them with binary numbers

w1 and w2 are the number of 1s when each number is replaced by a binary number, and d is the number of 0s and 1s separately in the same digits when comparing the two numbers. I've solved it as much as...

2 years ago

1 answers
151 views
0
Python list method index question, find the last element in the list.

The language is Python.I have a question about using index method, which is one of Python's methods.For example,When a_list=[1,2,3,1,4],If you use the index method, you will first put 0 which is the i...

2 years ago

1 answers
63 views
0
Python configparser Simple question...

I'm using it in Python 3.7, but I want to use the config information in other class functions, but I keep getting the following error 네요ㅠimport xml.etree.ElementTree as ETimport configparserclass Te...

2 years ago

1 answers
19 views
0
What are special character conversions, characters such as '\u0026amp', '\u003c', and '\u003e'?

Special characters are read as code, not as characters, as follows:I'd like to know if there is a way to change the name of this code format and change the code to characters that we normally see.The ...

2 years ago

1 answers
107 views
0
Python Dictionary Clear Method

fruits_dic={'apple':6000,'melon':3000,'banana':5000,'orange':7000}fruits_dic.clear()print(fruits_dic)Result value{}-------------------------------------------------fruits_dic={'apple':6000,'melon':300...

2 years ago

2 answers
56 views
0
To sort the Numpy array by x array

Number Pi array is x=[x3,x6,x1,x4,x2,x5,x5] Here x1<x2<x3<x4<x5<x6y=[y3,y6,y1,y4,y2,y5,y5] Don't know that the value of y is large or small If you change x to ascending order using the ...

2 years ago
« - 458 - »

© 2024 OneMinuteCode. All rights reserved.