453 questions
I want to put a text editor in the django project, but there is nothing suitable, so I am posting a question.I like the text editor I used in the hash code, so can you tell me what it is based on?
In Python, it says that to change the case of a string using the for statement, it should be the code below, but I don't know why it should be specified as new_text = str()!text = input('English case ...
You are creating a program that adds each digit number.In the first iteration of the function lot, we figure out the number of digits, and in the second iteration, when we put the number 7984 in x, fo...
Let me show you the code first.arr1 = [1,2,3,3,3,3,4,4]arr2 = []arr3 = {1:0,2:0,3:0,4:0}# 1. Add as a list to the set value arr2 except for the overlapping numbers of arr1arr2 = list(set(arr1))a = 0b ...
I would like to do something else while calling YouTube live chat using Thread and pythchat.def chat_get(): global ytloc ytloc=https://www.youtube.com/watch?v=GoXPbGQl-uQ print(ytloc) chat = pytchat.c...
answer = 20while True: try: guess = input(Enter a number bet. 1 and 100: ) If guesses > 100 or guesses < 1: # If entered out of range print(only enter a number 1 and 100) else: if answer ==...
I'm getting an error on my desktop. If you know the reason, please explain.I'm only looking for this for two days, but I'm asking you a question because my learning progress is not progressing.from em...
data_list = [[apple, 5], [grape, 3], [apple, 2]]result_data = []check_list = []for item in data_list: if item[0] not in check_list: result_data.append(item) check_list.append(item[0]) else: for res...
Hello, Python. I'm a beginner at Panda's.Declare the entire data as F1I would like to declare it as data by dividing it 97 times by 2,000 eachThat is, F1_0 is from index number 0 to 1999, F1_1 is from...
« | - 42 - | » |
© 2024 OneMinuteCode. All rights reserved.