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
13 views
0
Python, rock-paper-scissors

from tkinter import *import randomcom = {'scissors', 'rock', 'paper'}user = {'scissors', 'rock', 'paper'}def rcp_game( ) : com = random.choice (['scissors', 'rock', 'paper']) user = ('Scissors', 'Rock...

2 years ago

1 answers
17 views
0
Python Programming Problem Questions

Number 1 a = [20, -30, 50, 70, -10]sum = 0for i in range(len(a)) : if a[i] < 0 : break sum = sum + a[i] print(sum)Number 2 a = [20, -30, 50, 70, -10]sum = 0for i in range(len(a)) : if a[i] < ...

2 years ago

1 answers
84 views
0
I want to print a key that contains a specific character in the dictionary.

For example, I want to print only keys that contain 'a' characters in the dictionary named 'dics = { 'abdc' : 1234, 'abbbd' : 1244, 'adffbg' : 1255, 'bbbffgrg' = 1666}. How do I print them?

2 years ago

1 answers
126 views
0
Do you have access to Python running on Python? Other processes query processes that take a long time to initialize and receive results.

I'm building a Python system with LinuxIt takes too long to loadI'm going to load it first and approach itSo first, I'll run #python main.pyAfter loading, I set it to while and waitWhen Python insert....

2 years ago

1 answers
15 views
0
Hide Python Code

Is there a way not to expose the actual source code on Python?For example, field namem1.py print('code')main.pyimport m1Use m1.py at main.py as shown aboveHow to prevent internal code from being open...

2 years ago

1 answers
14 views
0
Lowercase the string entered in Python

warn_investment_list = [Microsoft, Google, Naver, Kakao, SAMSUNG, LG]word = input (input: )if word in warn_investment_list: print (This is an investment warning stock)else: print (Not an investment w...

2 years ago

1 answers
54 views
0
Do I understand crawl?

Hello, I'm posting a question because I got stuck while crawling.If you press a query in the system that opens only when you log in, you want to crawl the Excel data that you see. Looking at the netwo...


1 answers
17 views
0
Log in to Python and download files

I'd like to receive paid materials after accessing the paid site. It's too...It's annoying, so I'm going to get all of them through Python. I'm asking you a question because I've tried to copy someone...

2 years ago

1 answers
19 views
0
Python repeat question

How can I input up to 5 pieces of data using a range, for, etc.?

2 years ago

1 answers
114 views
0
It's annoying to install packages for each project.

It's so annoying to import and add PiCham every time I do a new projectIs there anything else that's okay besides piecham? I can't use it because it's always turning gray when I import it even if I in...

2 years ago
« - 365 - »

© 2024 OneMinuteCode. All rights reserved.