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
25 views
0
How do I split the numbers or values I enter into a list?

I want to take 5 values and add 1+2+3+4+5 = 15 <- I want to make this value [1,5] as a listIs it possible to enter only the character value by using the list function...? Or is it because there is ...

2 years ago

1 answers
69 views
0
Python question

Hello, everyone I got a syntax error while coding Python, but I don't understand whyIn the first coding, there was an error in the sum_even(result) function. Is it because you use a,b without knowing ...

2 years ago

1 answers
67 views
0
Will objects continue to pile up in memory when creating objects within Python for?

Rotate the for statement from the main.The contents of the for statement create a class object Afor i in range(n): obj_A = make_obj_A()The generated object A generates a myriad of other class objects ...

2 years ago

1 answers
100 views
0
When the np.concatenate function axis = 1, the output type question.

When there is an array of two rows and three columns called gird = np.array ([[1, 2, 3, [4, 5, 6])If you do np.concatenate ([gird, grid], axis=1), Why is the result array([[1, 2, 3, 1, 2, 3],[4, 5, 6,...

2 years ago

1 answers
83 views
0
Python map

What's the function of map in Python?ex) It says map[x][y+1] but I don't know what it means

2 years ago

1 answers
20 views
0
I'm using Python 3.6% windows10, what should I do when I compile the code into an exe file?crying

When I tried cx_freeze 5.1.1,It can be compiled, but the file cannot be executed

2 years ago

1 answers
130 views
0
(python) The need for len

fname = input('Enter fline name: ')if len(fname) < 1 : fname = 'mbox-short.txt'fh = open(fname)count = 0for line in fh : if 'From ' in line : mail = line.split() print(mail[1]) count = count + 1...

2 years ago

1 answers
90 views
0
webhacking.kr Question number 2

import re, urllib, urllib2pw=my_cookie = PHPSESSIDprint (FreeB0aRd password find Start)for i in range(1, 11):for j in range(33,126): url=http://webhacking.kr/challenge/web/web-02/ req = urllib2.Reques...

2 years ago

1 answers
17 views
0
[Python] Find the multiple of 3 and 5

I'm asking because there's no place to ask while I'm teaching myself as a non-major.Find a multiple of 3 and 5 among natural numbers less than 1000I tried to solve it in 3 ways, but all the answers we...

2 years ago

1 answers
136 views
0
Questions related to python list.sort().

Group3 = list()Group3.append('A')Group3.append('Da')Group3.append('la')Group3.append('I')Group3.append('c')Group3.append('a')Group3.append('b')Group3.append('羅')Group3.append('家')Group3.append('多')Gro...

« - 224 - »

© 2024 OneMinuteCode. All rights reserved.