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
16 views
0
It's a Python question

I am a student studying Python.My code for is total = 0while True: n = input() n_reverse = n1 = int(n) total += n1 if n1 <= 0: break for i in n: n_reverse = i + n_reverse print(n_reverse)print(...

2 years ago

1 answers
15 views
0
Python prime factorization

That's the problem at the top, and that's the code I wrote at the bottom.If you print it out like this, only the prime factor comes out, so can you tell me how to express it as an exponent and a produ...

2 years ago

1 answers
48 views
0
I have a question while studying functions

I learned a function that receives multiple inputs, and then I realized that it was a def functionadd_many (1,2,3,4,5,6,7,8,9) is added and executedI'm curious about the reason why it's error if I use...

2 years ago

2 answers
16 views
0
Python Error Question ValueError: invalid literal for int() with base 10: ''

num1 = int(number1 ==> 100)num2 = int (input (number2 == > 3))result1 = num1 * num2result2 = num1 % num2result3 = num1 // num2result4 = num1 ** num2print(The value multiplied by the numbers 1 an...

2 years ago

1 answers
85 views
0
Questions regarding Python PIL and cv...

First, if I were to show you the result image, this is what it looks like this.And the result I wanted is to square the orange area.I measured the pixel coordinate size of the picture and turned x, y ...

2 years ago

1 answers
18 views
0
Pick a random number in the Python list and add it

import randomimport mathimport numpy as npprint(What number(n) would you like to simulate?>> )n = int(input())arr1 = []A = (1,3,5,6,7,8,9,10)nx = 0for i in range(n): result = 0 for _ in range(14...

2 years ago

2 answers
17 views
0
Can we play the initial consonant game with Python?

Can we make an initial consonant game with Python?First of all, I made a code that only subtracts initial consonants from words.I want to make a game, but what do I do with the code?

2 years ago

2 answers
18 views
0
Please make an attribute error while practicing Python web crawling

It's a code from a book called 100 for practitionersIt's embarrassing if some code runs well and some code doesn't workㅠ

2 years ago

1 answers
107 views
0
Python tkinter image path setting question 'unicodeescape' code can't decode bytes in position 2-3: truncated \UXXXXXXescape

I copied and pasted the file path on the blog with any picture I had, but there was an error.(I tried to display a picture of a png file called Lee on my desktop) from tkinter import *w = Tk()w.title(...


2 answers
17 views
0
Hello, I'm posting questions for my college Python assignment

Hello, I'm a freshman in college this year.I have a question in the assignment, so I'm writing a questionThe priority tasks are as above. You want to import a class file to do something that fits the ...

2 years ago
« - 435 - »

© 2024 OneMinuteCode. All rights reserved.