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
46 views
0
getMinMaxScore function that returns the maximum and minimum values

mus, fre, ger, phy = 95, 97, 45, 95def getMinMaxScore(mus, fre, ger, phy): # ?? return ??MaxScore, MinScore = ( )print(MaxScore, MinScore)Run Results: 97, 45Hello, guys. I found an example while study...

2 years ago

1 answers
124 views
0
Use while loop to convert from Python Decimal to binary

For example, to convert the number 92 to binary:92 / 2 - quotient = 46 remainder = 046 / 2 - quotient = 23 remainder = 023 / 2 - quotient = 11 remainder = 111 / 2 - quotient = 5 remainder = 15 / 2 - q...

2 years ago

1 answers
46 views
0
Click Selenium

I'd like to check the Korean population change data, so I'm going to crawl through Selenium on the site of https://jumin.mois.go.kr/. As you can see if you check the site, you can specify some conditi...

2 years ago

2 answers
17 views
0
I have a question about cp949 error when reading Python files

I know it's not in the same position, so I move it to the desktop and try to read it again, but I get an error called cp949.How do I read the file?And the concept of out is spacing?

2 years ago

1 answers
37 views
0
Python json extraction

[ { type: roster, id: 407df467-f9f0-4745-8ed9-99f77cc25805, attributes: { stats: { rank: 2, teamId: 6 }, won: false, shardId: steam }, relationships: { team: { data: null }, participants: { data: ...

2 years ago

1 answers
100 views
0
Extracting a specific string from a string

Hello,I'm going to take the date data from the title of the postThe output value of the title of the post using Beautifulsoup is as follows.\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t...

2 years ago

1 answers
45 views
0
Is there a way to load a file with a different number of columns in each row into the read_table in Pandas?

For example, 1 22 3 43When I tried to load a file like this into read_table of pandas, I saw 12 in the first row and automatically recognized that there were two line columns, so the second row with 2...

2 years ago

1 answers
13 views
0
To divide Python integers N by the number of cases received

Integer NFor example, when 3 is entered, The number of methods that can only be expressed as the sum of 3 with 1 and 2 (1,1,1), (2,1), (1,2) A total of 3 How do I solve this? I have no idea.

2 years ago

1 answers
65 views
0
I have a Python question.

Bloods = ['a', 'b', 'ab', 'o']i=1while i<=10: list = input('Blood donated (a, b, ab, o) :') i+=1while i>10: breakj=1for i in range(len(list)): print(list[j], '', end='') j+=1I did this, but an e...

2 years ago

1 answers
12 views
0
a number baseball program

It's a number baseball program problem, but I have to use a defined function, so how do I do def over there?import random c=[0,0,0]c[0] = str(random.randrange(1,9,1))c[1] = c[0]c[2] = c[0]while (c[0] ...

2 years ago
« - 413 - »

© 2024 OneMinuteCode. All rights reserved.