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


4 answers
79 views
0
Python's 2D list. I have a question.

Hello, I'm going to create a function that takes the mean from the list in the list. grades = [ ['Student', 'Quiz 1', 'Quiz 2', 'Quiz 3'], ['Joe', 100, 90, 80], ['McD', 88, 99, 111], ['Ruta', ...

2 years ago

1 answers
48 views
0
Automatically generate Python lists

How can I make a code that makes a list of n when I get the number n from the user?I was going to write a for statement, but it's hard...

2 years ago

2 answers
139 views
0
Why do you add self when calling a function?

def sum(self): resurt = 0 for num in self.numberlist: resurt += num return resurtdef avg(self): total = self.sum() return total/ len(self.numberlist)Medium total = self.Why is self in sum()?

2 years ago

2 answers
31 views
0
Python nontype operation

TypeError: unsupported operand type(s) for -: 'NoneType' and 'NoneType' If the nontype is included when Python specifies the operation, I want to return it as a NULL valueHow do I write code?For examp...

2 years ago

1 answers
18 views
0
[Python] How to express the y value by conditionally summing it up in matplotlib?

I'd like to show the total number of orders per month in the sales raw data. Is it possible to calculate the y value as the conditional sum within the matplotlib package?Perhaps because the order numb...

2 years ago

1 answers
57 views
0
Another question... I'm sorry I have so many questions

This is the person I asked you two hours ago.If I have to choose more than two vegetables, I would like to give a discount only on those vegetables.ex) Enter product number 1Enter product number 0 (ex...

2 years ago

1 answers
22 views
0
It's a question about getting rid of the decimal places.

I made a discount table according to the date of birth and the credit card company for the school assignment.I want to throw away the decimal point here, but is there a way to throw it away without us...

2 years ago

1 answers
73 views
0
How to make Python tkinter function non-stop

I'm trying to make it snow on canvas, but if I draw a dot on canvas according to the def function, the dot falls like snow, but if I draw a different dot, the original snow stops and the new dot goes ...

2 years ago

1 answers
89 views
0
Code corresponding to "when clicking" in pygame

I want to put the quit button in the game code in pygame, but I know how to turn off the game program by putting the quit button. The problem is that I wanted to change the color when I was clicking t...

2 years ago

1 answers
52 views
0
(Correction) Python HTTP Error: Forbidden Question!

I want to download it from the same address. There are too many to do manually, so I thought it would be simple, so I coded it. It says HTTPError: Forbidden.Without %06 just 1, 2, 3, 4... It worked we...

2 years ago
« - 253 - »

© 2024 OneMinuteCode. All rights reserved.