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


3 answers
116 views
0
Python Double List Index Value Import Question

I want to find the index of the value entered in n in the puzzle list below, but after 1, 2, 3, and 4 in the first list, the error keeps occurring.index = puzzle[i].index(n) This part seems strange, b...

2 years ago

3 answers
14 views
0
Differences between = and <- in Python

When there are A and B with type list in Python (or even if type is not list) If you declare A = B and touch A afterwards, does B change as well?Also, in order to keep B unchanged, should I declare A ...

2 years ago

2 answers
99 views
0
Sum of the number of digits using Python/while loop

Hello,Store an arbitrary number in a variable as an variableFind the sum of each digitIt's a problem of finding the sum of the numbers of digits that are greater than 2 and less than 8.(Arithmetic ope...

2 years ago

1 answers
16 views
0
Replace one character in the Python string

a='A'g=10a[0]='g'print(a[0])I want to change 'A' of a to 'g' value, but why is there an error?

2 years ago

1 answers
14 views
0
Python Assignment Questions

What should I do? I don't know because it's so hard.

2 years ago

1 answers
77 views
0
How do you objectify maps (MAPs) by country on the web?

This is a map on the COVID-19 status board.When you position the cursor by country, it highlights the data in that country.What do you call this implementation method?Also, how is it easier to google ...

2 years ago

1 answers
43 views
0
I want to use the double loop of the Python array list to come out vertically (column 4)

The output result of the puzzle is [[1,2,3,4], [5,6,7,8],[9,10,11,12],[13,14,15,16]]I want to use a double loop to make it come out vertically (column 4) but I can't find an answer even if I think abo...

2 years ago

2 answers
62 views
0
ValueError: too many values to unpack in the Python Dictionary for Moon

n = int(input('Enter number of products : '))prod = {}for i in range(n): ProductName = input('Enter product name : ') ProductPrice = int(input('Enter its price : ')) prod[ProductName] = ProductPricepr...

2 years ago

1 answers
114 views
0
I'm asking for help because I have difficulty understanding the problem (list.append)

scores =[]sum_scores = 0for i in range(5): value = int (input (Enter your grade) scores.append(value) sum_scores = scoresscoresAvg = sum(sum_scores) / 5print(sum(scores))print(scoreAvg)I don't know wh...

2 years ago

1 answers
17 views
0
Python error question: attributeError: module 'random' has no attribute 'random'

I keep getting this error while studying Python, how do I solve it? And why does this error appear?This is the code I entered. import randomfor i in range(5): print(random.randit(1, 10))C:\Users\Pycha...

2 years ago
« - 358 - »

© 2024 OneMinuteCode. All rights reserved.