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
50 views
0
Specify the maximum size of the Python stack

I want to create a function here that allows me to specify the maximum size of the stack, how do I do it?class MyStack: def __init__(self): self.myList = [] self.top = -1 self.size = 0 def isEmpty(...

2 years ago

1 answers
72 views
0
Implement only one duplicate regular expression character

import reBefore_str = The name is Chul-soo Kim, the phone number is 010-0000:0000, and the place to make a reservation is Wolha Village. The number of people is nine. The date is 2019-11-11after_str =...

2 years ago

2 answers
77 views
0
Cut Python String

You are a Python user.For example, if you have the string a=apple,banana,cow,print_1=appleprint_2=bananaprint_3=cowHow do you create a code that stores it like this?(It's a beginner. I look forward to...

2 years ago

3 answers
99 views
0
Python openpyxl Modify Excel Interworking and Read

I'd like to modify the file from Python to openpyxl and read the modified data.However, an error occurs.The following files already exist: The name of the file is 'Add'.It's xlsx'.If you look at it, y...

2 years ago

2 answers
15 views
0
I would like to get a program that calculates the average of grades for each student and the average of grades for each student by dynamically receiving the number of students and subjects from Python.

kor_score = [49,49,20,100,80]math_score = [43,59,85,30,90]eng_score = [49,79,48,60,100]I want to get an average according to the number of students and subjects I receive when I have a score like this...

2 years ago

1 answers
99 views
0
I'm asking you how to change all the characters in the list ('1', '2',...) to numbers without a for statement

['1', '2', '3'] -> [1, 2, 3]How do I turn a number stored in text into a number?I think there is a way to do it without using the for statement, but I don't know what to do.


1 answers
15 views
0
To compare the contents of two notepad and return 0 and 1

[Notepad 1]NtReadFileSetFilePointerNtCloseNtCreateFileGetFileType[Notepad 2] NtCreateFileGetFileTypeNtAllocateVirtualMemoryGetFileInformationByHandleRegOpenKeyExAI read two notepads like this, and the...

2 years ago

1 answers
107 views
0
ASCII value of character in python

I want to find the ASCII value (int) of characters such as 'a', 'b' in Python.int('a')We couldn't be together.

2 years ago

1 answers
85 views
0
How to draw any number from 0 to 9

[0,9] I want to randomly pick a number in the range. What should I do?

2 years ago

2 answers
112 views
0
Use format function for Python class

I'm going to pre-define the function in the class and import it at any time to use it.The desired output value is m1: How is your relationship going? g1 ah?def romance(self, listener): print({}): How'...

2 years ago
« - 334 - »

© 2024 OneMinuteCode. All rights reserved.