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
97 views
0
I wonder how to enter a string with a line in Python.

Python wants to receive string input via raw_input().However, the input string contains several lines.For example, the following is the example.string = raw_input(hex code : )Input string 01 | string1...


1 answers
13 views
0
Find value values in a list consisting of keys in a dictionary

We created dict={a:1,b:2,c:4,d:8} and list=[a,b] I want to make a list with the values of a and b as factors, ->[1,2] Like thisWhat should I do?ㅜㅜ/

2 years ago

2 answers
15 views
0
All the chances of coming out

Hello. I want to implement it with Python.Assume that the array has a length of up to 10, and there are two 0s or 1s in the array.Let's say that there are four 1s and six 0s here, and we want to imple...

2 years ago

1 answers
13 views
0
Replace string order in Python

qwer → werq but I couldn't, so I'm asking you a question

2 years ago

2 answers
113 views
0
Python basic questions) essence conversion program) int() can't convert non-string with explicit base

select= int (input(decision of decimal (16/10/8/2):)num=input (Enter Value:)if select !=2 and select != 8 and select != 16 and select != 10 : print(Please enter only one of the 16,10,8,2 numbers) ex...

2 years ago

1 answers
118 views
0
Python Django Template Questions

dic =[{'name': Knives Out', 'dt_area': Kim Tae-hyung-kwan [Hall 1] 6th floor', 'start_time': '22:15', 'seat': '139 remaining seats', 'area': 'CGV Gangnam', {'name': 'Naves Out', 'dt_area': 'Kim Tae-hy...

2 years ago

0 answers
66 views
0
Corinne is right about Python's for repetition and how to use continue... crying

Hello, masters Here's the question! numbers = [ (1,2),(10,0) ] for a,b in numbers: if b == 0: print(It cannot be divided by 0.) continue print({} divided by {} is {}.format(a,b,a/b))Problem: 'The ...

2 years ago

1 answers
14 views
0
Replace Python list values? I want to know how to do it.

updown_img = ['▲','▼']a_list = ['1', '1', '1', '0', '0', '1', '1', '1', '0', '0'] There are two listsI'd like to change it to ▲ if it's 1 or ▼ if it's 0. Desired output value b_list = ['▲', '▲', '▲', ...

2 years ago

1 answers
119 views
0
Is there a way to wait for loading when crawling with python requests?

url = 'www.url-test.co.kr'req = reuqests.get(url)json_load = json.loads(req.text)json_res = json_load['rest']...In this way, a specific site is using requests to retrieve information. To be exact, I g...


2 answers
16 views
0
It's a code that converts hexadecimal to decimal

I'm working on a program that takes hexadecimal numbers with Python and turns them into decimal numbers def hexaToDecimal(hexaString): decimalNum = 0 length = len(hexaString) for num in range(0,len...

2 years ago
« - 297 - »

© 2024 OneMinuteCode. All rights reserved.