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
130 views
0
I'd like to ask you a question about Python's multiple regression linear model.

- This is a link to the regression model data csv file!https://drive.google.com/file/d/1P1IAq7q-3u8C6CyQoFCiuCch9eh3bn60/view?usp=sharingI'm making a regression model with this data, but I'm asking be...


1 answers
15 views
0
Find Python's biggest prime factor

Python's largest Which way do get a prime factor .

2 years ago

1 answers
14 views
0
How do I print only odd numbers from Python list?

[1,3,3,2,1] What should I do to make it so that 2 is printed out?

2 years ago

2 answers
15 views
0
I'm trying to sort the list based on the class number using sort, but it doesn't sort and comes out in the order of the input value, what should I do?

elif menu == 4: sorted_list = sorted(student_list, key=lambda hakbun:student.hakbun) print_student(sorted_list)When this code is executed, sorted_list should be printed in the order of school year, bu...

2 years ago

2 answers
31 views
0
Python Egyptian fractions calculation

Hello, I'm making an Egyptian fountain with Python. Given a fraction, the largest molecule is expressed as a fraction with one, for exampleegypt(4,5)4/5 = 1/2 + 1/4 + 1/20[2, 4, 20]egypt(2,11)2/11 = 1...

2 years ago

3 answers
129 views
0
Questions about Python set

aList = [1, 2, [1 ,2], 'c', [1, 2] ]I know that the set function removes duplicate values from the listNested list, and if it's a mixed list of characters When using the set function, an error was pri...


1 answers
49 views
0
I have a question regarding the delay of Python 3.7 results.

Hello, I'm Python's raw grasshopper, but I can't find it no matter how much I search for it, so I'm asking for your help Create the current UI and enter two values and press ButtonIf the two values ar...

2 years ago

2 answers
14 views
0
Python Dictionary. I have a question

a={'top':2,'mid':1,'bot':4,'jug':0}Here's a dictionary called a and I'm going to get the highest value of aBut if a is a list,MAX = 0i =0for x in range(len(a)): if a[i]>MAX: MAX = a[0] i=i+1 else: ...

2 years ago

1 answers
156 views
0
SyntaxError: invalid syntax when called after function definition

I did this, but I keep getting errors def get_generation(x): return str ((x//10)*10) + 'large'age = int(input(x))print(get_generation(age) + I see)If I type 28, I want to get 20s like this..What shoul...


1 answers
31 views
0
Sort Python List Ascending

file = open(C:/temp/data.txt,r)words = (word for line in file for word in line.split())counts = dict()for word in words: counts[word] = counts.get(word,0) + 1tmp = [(k,v) for (k),(v) in counts.items()...

2 years ago
« - 360 - »

© 2024 OneMinuteCode. All rights reserved.