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
Find Python specific character locations

No errors appear in the first sentence, but errors appear in the second sentence.I've done it and I've got a value of 9, so where is there a mistake?

2 years ago

1 answers
24 views
0
Python case conversion program creation question

ss=input('original string =>')a=0b=len(ss)while a<b: ss[a].isupper() a+=1if (ss.isupper()) == True: print(ss.lower())else: print(ss.upper())If I type in the letter PYthon, I want to make the r...

2 years ago

1 answers
22 views
0
Error question regarding rename file in Python folder. FileNotFoundError

There is a problem if the name is too long in the folder, so I am working on a code that changes it at once.An error has occurred.import osimport pathlibp_dir = './data/'for file in os.listdir(p_dir):...

2 years ago

1 answers
13 views
0
I have a question about how to call the variable name created through Python operation.

I would like to ask you how you can call the variable name obtained through the calculation result. For example, year_list = [2020, 2021, 2022]for i in year_list : name = str(i) + 'data' print(name)&...

2 years ago

1 answers
61 views
0
Python DataFrame Cleanup of Specific Values

location distance a 1 a 1 a 3 b 1 b 2 b 2 c 4 d 1 d 1If there's a data frame df like this,Summarize the number of values of 2 or more for each column. a : 1b : 2c : 1d : 0What should I do to ...

2 years ago

1 answers
17 views
0
Python credit entry program creation question

sum=0hap=0for i in range(3):a=int('credit:')b=float('Grade:')sum+=a*nhap+=aavg=sum/happrint(avg)I want to make a program that takes credit grades and outputs average grades, but there is an error in t...

2 years ago

1 answers
14 views
0
Python hyung's conversion question!

sum = 3 + 4.253; print(str(sum))If I do this, why is the output' 7.253. It doesn't work 7.253. Will it come out like this?str(3 + 4.253)If you type it like this,' 7.253. It's printed like this, right...

2 years ago

1 answers
19 views
0
Question about the number of last zeros of Python Factory Value

When I ran the part of the assistant terminal ZeroCount (20), I got 7.When I do 20! with a calculator, it's true that there are 7 zeros, but how do I use this as a string method to get 4?

2 years ago

1 answers
19 views
0
Questions about Python ** (multiple-squares operator)

print(3 ** 3 ** 3)print(27 ** 3)print(3**3**3) is output as 7625597484987print(27**3) is output 19683.I thought of the code print (3 ** 3 ** 3) as the cube of three, the cube of 27The price is too hig...

2 years ago

1 answers
18 views
0
Python Expensive Menu Recommendation for Affordable Menu

menu = ham bread chicken eggprices = 1200 5000 17000 500I'd like to know how to print out the most expensive and cheap menu given like this.I'm going to use min and max, but it's divided into menu and...

2 years ago
« - 451 - »

© 2024 OneMinuteCode. All rights reserved.