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
21 views
0
Forward variables at the same time as execution

In the case of django, you have to deliver variables such as runserver at the same time as running manage.pyWhich module is used to get variables from the command execution code to the console as foll...

2 years ago

1 answers
18 views
0
Python Naver Blog Crawling Questions

Hello, I'm trying to make a post on Naver blog with Python and upload it automatically to another blog (teastory, next time). import requestsfrom bs4 import BeautifulSoupfrom PIL import Imageimport re...

2 years ago

1 answers
18 views
0
What code should I use to customize the shape and color freely in Python Turtle graphics?

import turtle as tt.shape('turtle')color=float(input('turtle color==>')t.pencolor(color)I don't understand why there is an error. Numbers work, but strings don't work.

2 years ago

1 answers
18 views
0
What should I do to get the price like this?

def times2(k): k[?] = k[?] * 2 k[?] = k[?] * 2a = [1, 2]b = [3, 4]times2(a)times2(b)print('a = ', a, 'b = ', b)I wonder what's in the 2nd or 3rd row?The resulting value should be a = [2, 4] b = [6, 8]...

2 years ago

1 answers
47 views
0
Python Json

{type:push,targets:[stream,android,ios],push:{type:sms_changed,source_device_iden:ujzEgGbqE7UsjuPC94UrhA,notifications:[{thread_id:316,title: Buye,body: m,timestamp:1648564069}]}}How do I extract body...

2 years ago

2 answers
96 views
0
A simple card game problem using conditional statements

[Input Example 1]HEARTRED3CLOVERGREEN1[Output Example 1]player1 win, player2 lose[Input Example 2]CLOVERRED10HEARTGREEN2[Output Example 2]player1 lose, player2 win[Input Example 3]HEARTRED2HEARTGREEN5...


1 answers
24 views
0
Inquiry regarding Python function.

def deposit(balance, money): print(Deposit Completed The balance is {} won.format(balance + money)) # # return balance + moneydef withdraw(balance, money): if balance >= money: print(Withdrawal co...

2 years ago

1 answers
21 views
0
Ball drop Python question

The body of the question.If you place the ball from a high place and make it fall naturally, it will bounce two-thirds of its original height every time it touches the floor. However, when it reaches ...

2 years ago

1 answers
13 views
0
Python String Index Problems

the body of a question Implement the findChar_pos() function by modifying the findChar() function to satisfy the conditions below.Add a position parameter that receives an integer.The integer transmit...

2 years ago

2 answers
20 views
0
Python Synagogue Questions

I don't know why I get an error.If I erase the ASSERT and run it, I get Success False, what kind of error is it?

2 years ago
« - 450 - »

© 2024 OneMinuteCode. All rights reserved.