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
18 views
0
I have a number game question.

from random import randintnumber = randint(1, 100)print(Guess the number from 1 to 100 number)count = 0while True: x = int (input (Enter a number: ))) count += 1 if x == number: break elif x < num...

2 years ago

1 answers
17 views
0
I'd like to have only one Python random number occurrence, but what's wrong?

import randoma = random.randrange(1,101)def print_rand(n): for i in range(3): a = random.randrange(1,101)print_rand(3)print(f'{a}')

2 years ago

1 answers
16 views
0
I'd appreciate it if you could give me a hint for the practice question

str_data={'A', 'B', 'C'}joined_str=and.'Code (str_data)print(joined_str)Output value: B and A and CShouldn't we say reverse to the code?

2 years ago

1 answers
22 views
0
It's a dict practice question. Please help me

dict = {}dict['Naver'] = '[https://www.naver.com/] (https://www.naver.com/)')dict['Next'] = '[https://www.daum.net/] (https://www.daum.net/)')dict['Google'] = '[https://www.google.com/] (https://www.g...

2 years ago

2 answers
70 views
0
This is a SQL question. I want to automatically turn the same query to many tables.

SELECT * FROM 'Table name' ORDER BY 'Column name' DESC Limit 30 I'd like to turn the above query as many as the number of tables, and there are about 300 tables.1/ The PD table contains the table name...

2 years ago

1 answers
18 views
0
Python List Problem Questions

x=[20, 10, 20, 30, 10, 30, 10] #xlist, number 70-6x.sort()#SortListSortprint(x)#OutputL=len(x)#length functioni=-1while i<L:Repeat #7 i+=1 c=x.count(x[i]) #0th-6th term overlapping if c>1: # If ...

2 years ago

1 answers
104 views
0
Python Dictionary while statement registration code

Please help meI was looking for it for 4 hours and this is the code I came up withIt works, but I can't print out the last word added. TT: Please save meㅠ


2 answers
48 views
0
Regular expression question

Number 1:In the value of number 2, Put the number 1 in x How do I put the number 2 in y?Of course, that's randomawfdjaiffewjj3324 324234:3423423 asdfdfas3Like this.

2 years ago

2 answers
13 views
0
It is not output after the while statement.

First of all, I'm sorry that the code is long.This is the code for the commonly known Turning the Bookshelf (a game that adds each number of pages that come out after turning the bookshelf once). Thre...

2 years ago

1 answers
89 views
0
Reduce Python code How to reduce repetitive code within the pyqt5 class

Hello,I'm a beginner studying coding by myself.While programming through PYQT5, there is a repetitive code, so I want to reduce it, so I'm asking you a question because it didn't work well.class Ui_Ma...

2 years ago
« - 456 - »

© 2024 OneMinuteCode. All rights reserved.