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
83 views
0
I have a question for Python Dictionary

dic={}for i in range(0,5): a = input('product name:') price = input('price:') dic[a] = priceprint(dic)for i in dic: sangpum = input (product to be purchased: ) if sangpum in dic: print(dic[price]) el...

2 years ago

2 answers
102 views
0
I want to know how to execute the conditions over time in Python.

I learned Python for the first time and started working on a project. There are still many things I don't know, so it's a meaningful activity to try, but I'm asking you because it's not progressing an...

2 years ago

1 answers
18 views
0
To write break or continue within Python function (continue not professionally in loop error)

def inputUser(table, cnt): x = int (input (Enter the following number of x coordinates: ))) y = int (input (Enter the following number of y coordinates: ))) #Check the coordinates entered by the user ...

2 years ago

1 answers
77 views
0
Python prime superposition for statement question

You want to take an integer n and add a decimal number to the list L that is greater than n*2, but if you enter 16 in n, you only run up to 17 and not more. What I want is to turn from 17 to 31 and ad...

2 years ago

1 answers
83 views
0
Limit on the list? Is there something like that?

Hello, this is my first time to analyze data since I entered Python.I wrote the code with the same goal as the code below, but the problem only progresses to 10 in the For MoonThere's been an error af...

2 years ago

1 answers
130 views
0
os.remove()FileNotFoundError Error

Like #3, I learned that os.remove('file name') deletes it, but it says that there is no file or there is a type error.I want to know how to delete test1.txt as os.remove.test1txt is a file created in ...

2 years ago

1 answers
137 views
0
I have a question for Flask ORM query statement. Calculating Daily Statistics

First of all, the point of the question is to calculate daily statistics based on DB data You are about to import it.I'm trying to implement it through the ORM query statement method, but the logic is...


2 answers
12 views
0
Python: I want to put a serial number in front of the print with the list for door

A = set([a,b,c])B = set([a,b,c,d,e,f])list1 = A & Bfor x in list1 : print(x)Write with this code.abcThat's how it's written like thisI want to put 1, 2, 3 on the front.

2 years ago

1 answers
19 views
0
Python To get the value of a variable that is entered in a function of a class in another file

**file_a**import osimport sysclass Jmembership(): def new_name(self): path_input = rC:/Users/Users/Desktop/Database/input/ join_name=input(Enter membership name :) if not (os.path.isdir(path_input ...

2 years ago

1 answers
16 views
0
Create Python median class

class Median: def __init__(self): pass def get_item(self, item): pass def clear(self): pass def show_result(self): pass for x in [0.5, 6.2, -0.4, 9.6, 0.4]: median.get_item(x) median.show_result(...

2 years ago
« - 416 - »

© 2024 OneMinuteCode. All rights reserved.