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
NameError: name 'text' is not defined in Python basic print (trump_tweet(text))

------------------- Code I wrote------------- def trump_tweet(text) : # Implement the Trump_twit() function according to the given rule. # Please erase the pass and write the code. words = text.split(...

2 years ago

1 answers
18 views
0
How to extract keys from dictionaries and make lists

I'm going to read the json file in dictionary form and make a list of the key values I want and save this list as csv.In the process of reading it into a dictionary, changing it to a list, and convert...

2 years ago

1 answers
73 views
0
I wrote basic code for Python flask, but I got 404 error

from flask import Flaskapp = Flask(__name__)@app.route(/hello)def hello(): return <h1> Hello World! </h1>if __name__ == __main__: app.run()`Writing the following basic code does not run no...

2 years ago

1 answers
131 views
0
Make a heart shape with Python turtle

I have to make a heart shape with the one that's out here, but it's not working well. If there's anyone who's good at Python, please help me.import turtleturtle.colormode(255)turtle.color(255, 255, 0)...

2 years ago

2 answers
30 views
0
I'd like to parse the serial data I received on Python and save it as a list.

Hello, everyone I'd like to parse the cereal I received in Arduino and save it as a list. This is my code, and the data is printed in real time like this. I'd like to save the characters in front of :...

2 years ago

1 answers
49 views
0
Deduplication of Python List!

Task: Modify the code so that 8 groups of the group draw program are drawn at once without duplication!import randomimport tkinter# Group draw functiondef lotto(): teams = [ {'Group 1': [Kim Il-il', ...

2 years ago

1 answers
22 views
0
In tkinter, a simple calculation function continues to show incorrect answers.

I made the code like above, but if you run it and enter the answer, Even if you type the answer like in the picture, it says it's wrong.I don't know what's wrong.Can I know what's wrong?

2 years ago

1 answers
17 views
0
{} when outputting dictionary valuesPlease tell me how to get rid of lang

For example, i = { 'Hong Gil-dong' : 20 years old'}When it comes to print(i), it's {'Hong Gil-dong': 20 years old' It comes out like this 'Hong Gil-dong': 20 years old Like this Hong Gil-dong: 20 year...

2 years ago

1 answers
52 views
0
Python standard deviation,

import numpy aspx=np.random.normal(250,50,20)When the salary of 20 office workers was generated by the average and standard deviation, they wrote it like that.

2 years ago

2 answers
55 views
0
I want to check several Python list in operators.

a = ['name','phone','email','birth'] ,b = ['name','phone','birth'] I want to get it returned as True/False if a value is included in b as in operator. list(map(lambdax,y:x in y,a,b) I tried to see one...

2 years ago
« - 431 - »

© 2024 OneMinuteCode. All rights reserved.