list tag

251 questions


1 answers
42 views
0
String Sequential Comparison

Hello, I have a question while studying Python.If there are five list elements (list[0].list[1]), (list[0].list[2]), (list[0].list[3]), (list[0].list[4]), (list[1].list[2]), .....(list[3].[4] I wanted...

2 years ago

2 answers
70 views
0
Read Python csv file to group players into teams and save them in dictionaries

I am currently teaching myself dictionary and list. There's something I can't understand, so I'm uploading it.First of all, the csv file is written with open on Python and opened.import csvwith open(p...

2 years ago

1 answers
65 views
0
If the name is the same as Python csv phone number, add the member number and shipping number

If the phone number and name are the same, I would like to put the shipping number at the back of the member number and send it to a new csv file.Please give me some tips on what to do.

2 years ago

1 answers
39 views
0
I want to get the total number of numbers on the list, so I can hear the question!

import numpy as npimport osimport reseoul_file = open(seoul.txt, r, encoding = utf8)seoul = seoul_file.read().splitlines()print (Seoul Data Receivedseoul_file.close()time12_seoul = []date12_s = []date...

2 years ago

2 answers
131 views
0
I'm asking if I can loop around the coding beginner list slice.

I'd like to cut and print the bottom list combination of 5 pieces, so can you make the list slice range with a loop and make it automatically??num = int(input())moc = num//4namu = num%4like = 0hell = ...

2 years ago

1 answers
48 views
0
Question about Python list.

import random#Types of food food_kind = [Korean food, Chinese food, Western food, Japanese food, Asian food, Snack food]food_kind_detail = [food_kor, food_chi, food_west, food_jpa, food_asia, food_sfo...

2 years ago

1 answers
64 views
0
Python dict list difference

I have a question about the way List and Dict are called in Python.Personally, I thought that dict and list object calling method were the same, but the result was completely different from what I exp...

2 years ago

2 answers
41 views
0
Python] Make a list by pulling only those with specific phrases from the list

I'm a beginner at Python.When there is a list below, textname = [A.txt,A.srt,B.txt,B.srt]If there is a value with txt, is there a code to add to the new list?I don't think it's much, but I can't find ...

2 years ago

1 answers
43 views
0
I'm asking you a question because I'm stuck in studying

Hello, everyone I'm asking you a question because there's a blockage while studying. For example, set start number 100.| 1 | A | Use number: 100–119 | 2 | 10 | 8 | A 20 | Use || 2 | B | Use number: 12...

2 years ago

1 answers
42 views
0
I would like to ask you about the Python sequence list element modification.

We're working on a simple code that represents the DNA sequence in Python. Code that stores the base sequence in the list when it is entered, transforms the list element according to the rule with a f...

2 years ago
« - 24 - »

© 2024 OneMinuteCode. All rights reserved.