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
102 views
0
I change the Python while statement to for statement, but I don't get the same execution value

###Global variable declaration part##i,k=0,0##Main code part ##i=0while i<9: if i<5: k=0 while k<4-i: print(' ', end='') k+=1 k=0 while k<i*2+1: print('\u2665', end='')###Global var...

2 years ago

1 answers
24 views
0
Enumerate step

The list is looped using steps, but the value of n increases by 1 instead of step when enumerate and use.Does enumerate not support steps?a = range(0, 20)for n, i in enumerate(a[::5]): print(n)>>...

2 years ago

2 answers
128 views
0
I have a question about float64 type -> datetime64 type conversion.

Hello, everyone I want to convert from float64 type to datetime, but it doesn't work as I thought.First of all, in float64 format, the value is 44616.107037! If expressed in yyyy/mm/ddhh/mm/mm/ss form...

2 years ago

1 answers
21 views
0
Why does index error appear?

Obviously, the minimum value of mn is 8, so 8 - 7 is 1 and 1 - 0 is 1, but I don't know whystwiwh = [['W','B','W','B','W','B','W','B'],['B','W','B','W','B','W','B','W'],['W','B','W','B','W','B','W','B...

2 years ago

1 answers
17 views
0
Questions about Python Split

#Python 300 for beginnersThe question#27Print the domain from the web page address stored in url.>> url = http://sharebook.krExample of an execution:krOriginal answerurl = http://sharebook.krurl...

2 years ago

1 answers
90 views
0
Python minority output program question. Help me

Output type (number is an example)Enter numeric characters:4Four is not a prime numberI want to print it out like this, I don't know how to get that {} number you entered.(Crying)I don't know if I pla...

2 years ago

1 answers
16 views
0
Python Inverse Triangle Output Questions

It is a task to create a triangular program using overlapping for repetitive statements, and the output form is 12345 2345 345 45 5I have to do this, but I can't figure it out. How should I don't know...

2 years ago

1 answers
21 views
0
If you imported data from Python to split, but each file has a slightly different location...

Hello, everyone I loaded the 44th data with split, but each file has a different value. I only need WZM values, is there a way to get only WZM values? for i in data: if 'example' in i: test1 = i.sp...

2 years ago

1 answers
85 views
0
Matrix output of txt file from Python

3 21.0 2.0 3.04.0 5.0 6.03 21.0 2.0 3.04.0 5.0 6.0I want to call the intxt file Python and print out two matrices and find the sum of the two matrices.A=1.0 2.0 3.04.0 5.0 6.0I hope it comes out lik...

2 years ago

1 answers
66 views
0
Compare Lists

force label: [70, 75, 72, 58, 64, 74, 52, 64, 62, 67, 62, 55, 72, 63, 65, 15, 38, 63, 30, 65, 69, 52, 72, 70, 32, 72, 75, 60, 90, 35]intel label: [60, 74, 27, 58, 59, 72, 64, 52, 54, 54, 60, 37, 35, ...

2 years ago
« - 455 - »

© 2024 OneMinuteCode. All rights reserved.