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
105 views
0
Judging from the RGB of color as one of the red, orange, yellow, blue, navy, and white swords

Hello, I'm a college student who just came across Python.I want to create a program that converts visual data into auditory dataAfter loading the image, extract the RGB of the color of the mouse point...

2 years ago

1 answers
20 views
0
I don't understand why the repetition for should go in.

Numbers consisting of 4, 6, and 8 should be matched like this.Number - String4 - love8 - smile6 - kissFor example,If you enter 48686 in the variable,The result is that the value should be like lovesmi...

2 years ago

1 answers
17 views
0
Why -99999 is included in the function to obtain the maximum value

def our_max(numbers): result = -9999 for number in numbers: if result<number: result = number return resultprint(our_max([1, 2, 10, 9, 3, 7, 0, 99, 27, 85]))

2 years ago

1 answers
60 views
0
Process time data configured with a.m. in Python

import numpy as npimport pandas as pdfrom pandas import DataFramepd.set_option('display.max_rows',10000000000000)pd.set_option('display.max_columns',10000000000000)pd.set_option('display.width',100000...

2 years ago

1 answers
19 views
0
Find the most frequently chosen number

import numpy as npimport xlwings as xwimport randomfor i in range(100): F1AA = random.randint(0, 52) F1BB = random.randint(0, 52) F1CC = random.randint(0, 156) F2AA = random.randint(0, 26) F2BB = rand...

2 years ago

2 answers
17 views
0
Find Python Travel Distance

import numpy as npimport mathprint(How many times would you like to pick per person?>> )t = int(input())print(What number(n) would you like to simulate?>> )n = int(input())RW = list()For j...

2 years ago

1 answers
18 views
0
This is an additional question. About random function weights

import randomimport mathimport numpy as np #***The average distance (dis)** after n times of simulation picking t times per person#1. Randomly generate (x.y) coordinates between 1 and 50#2. Calculat...

2 years ago

2 answers
49 views
0
[Python] The coding to find the minimum and maximum values of the elements in the list does not work normally

It's a problem that implements functions without sum, max, and min! import random def randStat(n): rand_list=random.sample(range(0,100),n) # 0 : sum sum like variable declaration For val in range...

2 years ago

1 answers
16 views
0
Questions about Python sys.argv

C:/doti/Mymod>python argv_test.py you need python['argv_test.py', 'you', 'need', 'python']Hello. I have a quick question about Python sys grammar.If you enter it in the cmd window as shown in the t...

2 years ago

1 answers
59 views
0
ZeroDivisionError: integer division or modulo by zero error question

I'm solving Josephus problem on Baekjun site (https://www.acmicpc.net/problem/1158), the code below is correct algorithm except for output format.N, k = map(int, input().split())A = [x for x in range ...

2 years ago
« - 433 - »

© 2024 OneMinuteCode. All rights reserved.