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
15 views
0
I'm asking you a question.

name=input('name:')gender=input ('Gender (Male: 1, Female: 2):')soldier=input ('military discharge (for example, 1, no:2)):')marry=input (marriage (for example, 1, no:2)):)if gender=1: gender=0 and ge...

2 years ago

1 answers
14 views
0
Python Two-Dimensional Array Question

The one-dimensional arrays of a,b,c,d,e,f, as shown in the source below[5, Submission, Second Year, date00, Park Chulsoo, Task 1][4, Submit, First Year, date00, Kim Chulsoo, Task 2] [3, Closing, Junio...

2 years ago

1 answers
72 views
0
I have a data combination question.

About big data in a data frameA11121313141115When it's like this, add item B next to A. A B11 a12 b 13 cu 13 cu 14 r11 a15 m I want to put it up like this. It's hard to put it in one by one because i...

2 years ago

2 answers
79 views
0
Python Code Questions

6. Physical strength decreases due to damage input by text, save remaining physical strength Text when outputting coding Please let me know the appropriate code below!7.When you run a program, read th...

2 years ago

1 answers
75 views
0
I have a question for Python code.

I'm trying to solve the dynamic programming LCS problem, but the Array output keeps getting weird.The code is as follows A = ABCBDABB = BDCABAlcsarray = [[0]*(len(B)+1)]*(len(A)+1)def lcs(x,y): for i ...

2 years ago

1 answers
80 views
0
Question to print until python 0.

list=input().split()for x in list: if int(x) == 0: break else: print(x)a=input().split()for x in a: if int(x) == 0: break else: print(x) I wonder the difference between receiving the list and a an...

2 years ago

1 answers
129 views
0
About using and updating Python global variables

from settiing import *from boy import *def start(): value = web() // Import data from the web (value=[4,5,6]) gosetting(value) goBoy()a = 1b = 2c = 3def goSetting(value): global a global b globa...

2 years ago

1 answers
23 views
0
Python break outside loop error question.

As many as the number of count, I want to output integers except 0 in b.However, if you put break in the sys.exit(0) position, an error called break outside loop is displayed...I want to know how to u...

2 years ago

1 answers
42 views
0
How to store data in DB

# model.pyfrom django.db import models# # Create your models here.class Weather(models.Model): Temperature = models.CharField(max_length=20) Humidity = models.CharField(max_length=20) Check_Time = mod...

2 years ago

1 answers
76 views
0
Questions about Python CSV... ValueError: I/O operation on closed file.

Hello, I am a student who is making coding difficult while studying Python.I'm coding with Python using Raspberry Pie, and I'm trying to save a CSV file. There was a problem here. '''Traceback (most r...

2 years ago
« - 363 - »

© 2024 OneMinuteCode. All rights reserved.