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
19 views
0
SyntaxError: invalid syntax error.......

print ('Equation 1 when the first and last terms are given')print('When you know the first term and tolerance, press 2.')Q = int(input('tell me')))print('Q:', Q)if Q == 1: F = int (input('Please enter...

2 years ago

1 answers
21 views
0
Hello, this is Python Day 1, SyntaxError: invalid syntax error question.

#coffee.py coffee=10 while true: money=int(input please:)) if money==300: print(Give coffee.) coffee=coffee-1 elif money>300: print(Give %d change and give coffee.%(money-300) coffee=coffee-...

2 years ago

1 answers
18 views
0
I'd like to combine files A and B from Python.

My knowledge of Python and Linux is shallow, so I have limitations in writing.The file A is It has this formatB file is What I'm curious about here is that I want to merge the rows with only the commo...

2 years ago

1 answers
18 views
0
Fill in the Python string blank question.

Hi, how are you?I'd like to add a column to match the length of the variable. Please give me some advice.For example, You want to put text in a string with a total of eight digits, right-sort it, and ...

2 years ago

1 answers
20 views
0
Making a Tertiary Equation with Python

I recently started learning Python. Of course, I started to submit a report where I work, but I need a third-order equation to write this report. It's possible up to the quadratic equation, but the te...

2 years ago

1 answers
98 views
0
Question for loading modules from Python.

Place the Python path in the module position.After locating the module location in cmd, run Python and import the module (mod1.py)I did import mod1 but it doesn't work. Why not?

2 years ago

1 answers
18 views
0
Python List Copy Question (copy module, slice)

import copya = [Aa,Bb, Cc]b = [11, 22, 33]c = []a.extend(b)c.append(a)c.append(a)print(1,c) #Results(1 ['Aa', 'Bb', 'Cc', '11', '22', '33'], ['Aa', 'Bb', 'Cc', '11', '22', '33'])c = c[:]del a[3:]print...

2 years ago

1 answers
39 views
0
I'm making socket communication using Raspberry Pi and Python, but there's a blockage.

You want to create a socket communication that sends a picture to the server as soon as you take a picture with a button in Raspberry.I'm still a beginner, so I wrote the following code with the infor...

2 years ago

1 answers
20 views
0
Get Python Average

Complete the function to return the average value of the parameter list.The average value should be available for any size list.Where is the error?def average(list):result = sum(list) / len(list)retur...

2 years ago

2 answers
155 views
0
Python-Repeat List 2 with each argument in List 1 without duplication

How do I simplify the code below?Newlist =[ ]A_list = [a, b, c, d, e, f]page_list = [1, 4, 5]''''''''''''''''''for 'A' in A_list:names1 = Class Method Function (type='A', page=1)Newlist.extend(names1)...

2 years ago
« - 228 - »

© 2024 OneMinuteCode. All rights reserved.