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
58 views
0
Python encountered an error saying 'str' object does not support item deletion.

Hello, I am studying PythonI wanted to delete a specific index in the array using del, so I made the following code. 'str' object does not support item deletion.There was no error before writing this ...

2 years ago

1 answers
34 views
0
[Python] Question temperature changing function

Write a function that converts Celsius temperature to Fahrenheit and Celsius temperature to Fahrenheit.How should I solve it?

2 years ago

1 answers
95 views
0
Python - Excluded from the list of values selected by random.choice() among random modules

student = ['a', 'b', 'c', 'd', 'e', ' f', ' g' ] number = 0import randomwhile number < 32: number += 1 print(number, random.choice(student)) input()While creating a program that sets the order, the...

2 years ago

1 answers
82 views
0
double recursion

Hi, everyone.In the process of studying double reflexes,I'm asking because I don't understand the following function.I don't quite understand how the function to get the maximum value works, as follow...

2 years ago

1 answers
37 views
0
I am attaching a code debug error message that attaches the excel file below to mysql workbench using python.

The code was slightly modified and executed.The table exportimport201006 is in the created state.I'm trying to put a value in this table, but the following error appears.How do we solve this?

2 years ago

2 answers
21 views
0
I want to see the data type of input, but why does this come out as str?crying

From Pythona = input()print(type(a[0]))print(type(a[1]))print(type(123))If you enter 12 like this, <class 'str'><class 'str'><class 'int'>Why does a[0] come out like this and a[1] co...

2 years ago

1 answers
20 views
0
Web Scraping Using Hidden Login Sessions

https://data.icao.int/WASA/Account/LoginYou want to use a login session to do web scraping (Mac, Python+Beautiful Soup). However, unlike the usual homepage, when you click on the login screen, a new p...

2 years ago

2 answers
85 views
0
Simple code questions about Beautiful Soup...

import requests, bs4 res = requests.get('http://tuportaldesbloqueo.com/') res.raise_for_status() soup = bs4.BeautifulSoup(res.text, html.parser) elmes = soup.select('title') for elem in elmes: ...

2 years ago

2 answers
89 views
0
(Beginner) I don't know how to declare and enter a list in Python Dictionary "T"

Finally, the desired dictionary form is {'Code 1' : [Code 1 name, 1 or 0], 'Code 2' : [Code 2 name, 1 or 0], ...} You want to enter 1 or 0 in the list [1] element with a separate actionI can't do this...

2 years ago

1 answers
119 views
0
Python List, Dictionary Approach Question

x = {'a': ['aaa', 'bbb'], 'b': ['aaa', 'ccc'], 'c': ['bbb', 'ccc']}y = []for i in x['a']: if i in x['c']: y.append(i) print(y)If you write it like this, only [bbb] comes outI want to print 'a' and '...

2 years ago
« - 236 - »

© 2024 OneMinuteCode. All rights reserved.