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
Python) Add a list of different len

I want to create a logic that adds two lists of different len's.I want to add list1=[1,2,3,4,5] and list2=[1,1,1,1,1,1,1] to make list3=[2,3,4,5,6,1,1].But I keep getting errors ㅠ 혹시 Can you make t...

2 years ago

1 answers
17 views
0
Python Web Call Error

Hello, I am studying a book called Introduction to Python Hacking. I have to make a web call to create a password cracking program, but the web call is getting an error. I wrote the code exactly as it...

2 years ago

1 answers
129 views
0
Get control + c input from Python and end the program

The program you are writing with Python contains a while statement I want to end the program when the user enters the control + c command when the program is running and when the while turns How do I ...

2 years ago

1 answers
91 views
0
#Python - I have a question about entering variables!

An error occurs when entering a string value instead of an integer value in age=int(input())At this time, do you know the source code of the algorithm that uses conditional statements to output Not an...

2 years ago

2 answers
14 views
0
Python Index Error

import sysclass Calc : def __init__(self,a,b): self.a = a self.b = b def sum(self): return (self.a + self.b)b) def sub(self): return (self.a - self.b)b)a = sys.argv[1:3]a1 = a[1]a2 = a[2]calc = Ca...

2 years ago

1 answers
99 views
0
I want to randomly pick items from Python

I want to randomly pick items on the list from Python. a = [1,2,3,4,5,6,7,8,9,10]InAnything (a) sometimes 3 and sometimes 1Is there a way to make anything come out together?

2 years ago

2 answers
42 views
0
Python algorithm problem

https://programmers.co.kr/tryouts/850/introYou can see the problem if you go to the address here. It's this kind of problem.I'm going to find the biggest pattern that matches this problem from the ver...

2 years ago

1 answers
90 views
0
Python for Moon Question.

nStartYear = 2017 nEndYear = 2020 for year in range(nStartYear, nEndYear): for month in range(1,13): yyyymm = {0}{1:0>2}.format(str(year), str(month)) jsonData = getNatVisitor(yyyymm, national_c...

2 years ago

1 answers
14 views
0
Python beginner's class. I have a question

class BankAccount:no_of_accounts = 0def __init__(self, name, balance = 0): self.name = name if balance >= 0: self.balance = balance else: self.balance = 0 def show_name(self): if self.name: prin...

2 years ago

1 answers
14 views
0
How to run Python

Is there a way to run Python? If I don't press the program when I'm playing a game, is there a way to press a certain button, for example, to play a screen or to play a song? Like a shortcut. Is this ...

2 years ago
« - 302 - »

© 2024 OneMinuteCode. All rights reserved.