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


2 answers
317 views
0
Python Input Questions

Number of input data in the first line nData dimension k on the second lineI want to get n pieces of k-dimensional data from the third lineWhat should I do?For example, 425 1010 206 815 11I'd like to ...

1 years ago

0 answers
292 views
0
Please solve the Python problem. It's hard

The company regularly conducts medical checkups for employees every year to measure blood pressure, and the blood pressure levels include systolic blood pressure (high) and diastolic blood pressure (l...

1 years ago

1 answers
217 views
0
I have a question for basic Python!

I'm asking you this question because I don't know even if I try to search this and that for more than an hourI'm explaining it in words because the image is not attached.You have to give a list statem...

1 years ago

1 answers
425 views
0
For, while

For statement hap=0for n in range(1234,4568): if n%444 ==0: hap += nprint(hap)How do I change this to a while statement

1 years ago

1 answers
353 views
0
Question about __init__ method

#1 First Methodclass Triangle(object): def area(self, b, h): self.b = b self.h = h return b*h/2a = Triangle()a.area(4,8)I tried to write down the code above using the init method.#2 Try the second ...

1 years ago

1 answers
400 views
0
byte size and look, read method

I am currently learning about bytes and file processing.#Hangul is 2 bytes per character (other is 1 byte) If it is 5 letters, it is 10 bytes, and 'Studying Python Language' is 10 letters (including s...

1 years ago

1 answers
356 views
0
Python Cote Question

def solution(n): answer = [] # First, pull out all the mineral water, and then leave only the few of the mineral water. for i in range(2,n+1): if n%i == 0: answer.append(i) for i in answer: cnt = 0...

1 years ago

1 answers
294 views
0
Create the desired output with format

name = 'Anyone'snum = '22808080'addr = 'Nam-gu, Ulsan Metropolitan City'mp = '0101234567'Let's make a format statement so that it can be output as follows. 1. Name: anyone 2. Academic number: 22808080...

1 years ago

1 answers
339 views
0
Problems that arise when compliance is converted into a general for statement

# Create Dictionary loc_mapping = {val : index for index, val in enumerate(strings)} # It doesn't mean val = index, but it means to express it in the form of val : index.loc_mappingWhen you run , you ...

1 years ago

1 answers
350 views
0
loss.backward() -> Missing XLA configuration

Calculated losses from models created using pytorchWhen you run the following code during propagation:The following error message is troubling me.loss.backward()The forward propagation calculation can...

1 years ago
« - 32 - »

© 2024 OneMinuteCode. All rights reserved.