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
15 views
0
The product of all the elements in the Python list.

Hello, I'm a student studying Python. The problem that needs to be solved is, when there are two lists, return the elements in those two lists multiplied by each other.For example, if a = [1,2], b = [...

2 years ago

1 answers
39 views
0
Sort Python List

For example, ['level 10', 'level 4', 'level8', 'level9']level 10level 9level 8level 4I want to print it out like this, but if you just use a sort,level 9level 8level 4level 10This is what happens.Do y...

2 years ago

1 answers
39 views
0
Create a ranking with json. Sort by specific properties.

{ 720924012909166682: { 770571591422836757: { lvl: 6, exp: 12 }, 409679882327687168: { lvl: 1, exp: 0 }, 507504723184844813: { lvl: 5, exp: 20 } }}Inside the json file to use.with open('pa...

2 years ago

1 answers
108 views
0
Created code to get Python Smart Store thumbnail image.

import requestsfrom bs4 import BeautifulSoupimport urllib.requesturl = input ('Enter address:')html = requests.get(url)bs = BeautifulSoup(html.text, 'html.parser')description = bs.find('meta', propert...

2 years ago

1 answers
73 views
0
This is a question related to python indication.

The Python indication through the visual studio code is displayed1) 1) ->2) - - - -There are two. What is the difference between these two marks?-- When running -print (years), there is no mistake ...


1 answers
16 views
0
[Python] How do I know how many days there are between two dates? (Without using a time function)

How do I know how many days are between dates without using the datetime function?For example, from October 20, 1950 to December 17, 2020, How do I calculate the number of days?

2 years ago

2 answers
14 views
0
Python function question: Find the value of n when c*n > a + b*n is satisfied

When you create a function and enter values a, b, and c,How do you find the n value when you satisfy c*n > a + b*n? I'll send you a coffee gifticon

2 years ago

1 answers
120 views
0
flask TemplateNotFound

I created a program that loads and shows templates with Python flasks.import flask;app = flask.Flask(__name__);@app.route('/')@app.route('/home')def hello(): return flask.render_template('test.html')a...

2 years ago

1 answers
88 views
0
pygame background image doesn't pop up

I'm a Python beginner. I'm making a game for club presentation using pygame, but the background image doesn't come up and only the black screen appears. I don't know where to start.Part of the problem...

2 years ago

1 answers
83 views
0
I ran a jupyter notebook in the folder Here's the question

I'm lazy to route from anaconda prompt I used it as a jupyter notebook right in the folderIt turned on well a few days ago, but it pops up like this. In the environment variable Path, In the system va...

« - 394 - »

© 2024 OneMinuteCode. All rights reserved.