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


2 answers
82 views
0
Rewrite the list and print it

Use index 2 column and sort it out in descending order I wrote [:3] because I wanted only the top 3 to come up It will be printed in a line.If you know how to do it, please leave a comment.mylist.sort...

2 years ago

1 answers
78 views
0
Can't I use the function as a dictionary value?

For example,Assuming that the functions draw_nose and draw_eye are defined drawing = { 'nose' : draw_nose, 'eye' : draw_eye}Define a drawing dictionary and If I enter the key value of the dictionary, ...

2 years ago

1 answers
17 views
0
Help me build a Python Alien fleet!!!!!

The first five are 'speed': 'medium', 'color': 'yellow', 'points': 10The next five are 'speed': 'slow', 'color': 'green', 'points': 5The next five are 'speed': 'fast', 'color': 'red', 'points': 15For ...

2 years ago

2 answers
15 views
0
Python 369! Help me!

I am a student who is learning Python.You want to create a 369 game, and each number is entered by the user at every one time.For example, in the beginning,When 'Enter a number:' appears, the user ent...

2 years ago

1 answers
18 views
0
Replace lines when specific characters are found in the Python string list

I want to change the line whenever there is a letter 1 on the list. The code I tried is as follows. list_s = [a,1,b,e,c,1,d,1,e]list_t = [a,e]unit = [1]cnt =0for value in list_s: if value in list_t: ...

2 years ago

1 answers
81 views
0
How can I use javascript regular expressions to replace them if certain characters are included?

String.replace(/case/gi, FIND!)As above, I wrote to change the string case to FIND! without being case-sensitive.If there are two strings, > and < on both sides of case, how do I write it so tha...


1 answers
16 views
0
Replace lines when certain characters are found in the Python list

Whenever I find 1 in the list_s, I want to change the line in front of it without deleting it. In the current code, 1 is deleted and changed. list_t is the list to be deleted. The unit is a list conta...

2 years ago

1 answers
49 views
0
Python input question!

Picture shows a 12chances.Enter a letter:a It appears like this, but the values of a do not appear on the screen 12chances.Enter a letter:a How do I code to show only like this on the screen?

2 years ago

3 answers
45 views
0
Can we tie up the same elements in the Python list?

If [Ganada, Ganada, Ganada, Ganada, Ganada, abc, abc, abc, Mabasa, Mabasa]When you have a one-dimensional list, such asWith a two-dimensional list [Ganada, Ganada, Ganada, Ganada, Ganada, [abc, abc], ...

2 years ago

1 answers
24 views
0
How do I adjust the bootstrap pop-over position?

As shown in the attached image, data is being displayed using pop-over of bootstrap for each country in the svg file.But in reality, the country is using a rectangular space that is larger than the pi...

« - 362 - »

© 2024 OneMinuteCode. All rights reserved.