• Register
search
Log In

Recent questions tagged list

1 vote
1 answer 1 view
Problem: Hello Kodlogs, I am struggling to solve a problem based on Python. I was solving basic-level problems from a website. I’ve got a question today that says to find the intersection of two lists using Python codes. I didn’t get the facts here. Could you please elaborate on the things clearly? Thanks!
asked 1 hour ago adamSw 9.5k points
0 votes
1 answer 1 view
Problem: Hello kodlogs, I am new to python language and just complete the list concept in python and wanted to learn the list shuffle concept and I have learned about it but when i tried to implement one of the program of it, I am not able to implement it. ... getting me mad dont know what I am stucking with, in this concept so need the proper implementation method so need help in this topic!
asked 9 hours ago Gavin 15.2k points
0 votes
1 answer 4 views
Problem: Hello All, I am a novice in Python programming. I am learning Python by enrolling in an online class out of my own curiosity. I am solving basic level problems from many websites. So far, I was doing good. I get stuck as soon as I get a question that ... you guys have any idea? Please, help me to solve the problem. I am looking forward to having your answers. Thanks a lot in advance.
asked 2 days ago adamSw 9.5k points
1 vote
1 answer 5 views
Problem: Hello all, I’ve just completed learning basic python. You may treat me as an intermediate-level python developer though I know learning has no limit in the programming field. Recently, I started learning data analysis using python pandas. Therefore, I am ... and share me the procdure to achieve this? Thanks a lot for reading my problem attentively and your reply to this thread.
asked 2 days ago adamSw 9.5k points
1 vote
1 answer 6 views
Problem: I am having an issue with removing the last element of a Python list. I have created a Python list with some items: is_a_list = [1, 2, 4, 6, 8, 0] And now, a situation has appeared in my program where I am in need to erase ‘0’, which ... disturbance with my existing list? I’d love to hear from you, guys. Would you please share a tip with me? Thanks a lot for your help.
asked 2 days ago adamSw 9.5k points
0 votes
1 answer 5 views
Problem: I am a beginner in programming language and I choose python for this. So I was doing my programming practice. I was looking for a way to split list data structure python. It should work perfectly I don't know how to do as I have never studied the split list before as I come from the c language background.so waiting for some to help me with this.
asked 3 days ago Gavin 15.2k points
0 votes
1 answer 6 views
Problem: Hello Kodlogs, I am a high school standard student. Nowadays, I am learning computer programming using the Python programming language. Anyway, I just completed reading the Python list topic and learned what is a Python list and what to do with it! I’ve ... a professional way. Could you please suggest a better way to do such things? I am looking for your answers. Thanks, Mate.
asked 5 days ago adamSw 9.5k points
1 vote
1 answer 3 views
Problem: Hello kodlogs, I know the core python but when I have to implement the list concept with this that applying with two lists don't know how to implement this having issue, basically, I come from the c background and in c language there was not any concept of this ... I can see the content of the list is same still I am getting the error dont know how to achieve this waiting for the reply.
asked 6 days ago Gavin 15.2k points
1 vote
1 answer 3 views
Problem: Here comes a newbie in Python programming. Recently one of my friends advised me to learn computer programming and suggested to start with Python. I have picked up the language as she told me it is easy for a beginner. Therefore, I joined an online course and started learning ... list is: a_list = [1, 3, 5, 7, 9] I am eagerly waiting for your answers. Thanks for your concern, guys.
asked Jun 30 adamSw 9.5k points
1 vote
1 answer 5 views
Problem: Hello Kodlogs, I am a new student in Python. Previously I used to develop programs in Java. I just installed a fresh Python on my machine. A lot of things to know and learn in Python, and for that, I joined this forum. I found the forum very helpful with a lot of ... same thing, but I want to do it in a NumPy program. How do you do it? Could you please share me the tip? Thanks in advance.
asked Jun 30 adamSw 9.5k points
1 vote
1 answer 3 views
Problem: Hello all, I have just installed Python on my computer and completed reading the introduction of Python. I’ve completed some basic programs successfully. I mean very problems. Such as taking inputs, few mathematical operations, defining functions, and returning values from ... you please help me on this regard? I would love to read your answers. Thanks a lot for your kind help.
asked Jun 30 adamSw 9.5k points
0 votes
1 answer 4 views
Problem: Hello folks, I am a full-time Java developer. Recently, I jumped into Python development. Unstalled python on my machine and started writing codes. I just figured out Python has different types of arrays set-up, unlike Java. One is known as List, and ... me. Could any of you please explain the facts and differences between them quickly? I would appreciate your help a lot. Thanks, mate.
asked Jun 29 adamSw 9.5k points
1 vote
1 answer 5 views
Problem: Hello Kodlogs, I am getting an error TypeError: unhashable type: 'list' while I was doing this: my_dict = {'name': 'John', [1,2,3]:'values'} print(my_dict) As you can see I have declared a simple list and trying to print all the values. I think the ... find out the issue and help me to fix the error. I’ve already spent an hour on this. Please save my day. Thanks for your concern.
asked Jun 28 adamSw 9.5k points
0 votes
1 answer 3 views
Problem: Hello kodlogs, I am new to python list and want to implement the the addition of list but dont know how to achieve this in C / JAVA it is a different concept but when it comes to python it is different tryied few of the thing but still confused with it.
asked Jun 27 Gavin 15.2k points
0 votes
1 answer 9 views
Problem: Hello kodlogs, I am new to python language basically this is the first language I am learning as friend say is the easy language, and so wanted to learn more about it, but I am doing a simple for sum program and about the list by sum( ), I am able to achieve it but, I have to do it without the function how can I achieve this.
asked Jun 26 Gavin 15.2k points
1 vote
1 answer 4 views
Problem: Hi, I have just joined the forum to share some of my queries with you. I hope you guys will answer my questions as you are doing for everyone else. Well, I am practicing Python programming language nowadays and learning new things every day through my ... respond to my query as early as possible. I’ve spent already hours solving the problem, but couldn’t figure it out. Thanks.
asked Jun 26 adamSw 9.5k points
0 votes
1 answer 5 views
Problem: Hello kodlogs, I am new to python programming language basically I am a frond end developer just started with the python django development, I have been implementing the project and in that I have to store the size of the list dynamically and I am really confused how to achieve this can someone help on this.
asked Jun 26 Gavin 15.2k points
1 vote
1 answer 2 views
Problem: Hello Kodlogs, I am a beginner level student in python. I was doing some operations on a python list. from a website. Suddenly, I got a problem that says to flatten a list using a python program. For example. if the given list is is_a_list = [(1, 2, 3 ... Is it possible to do that? if possible then how do you do that? Please, give me an example of that for my better understanding. Thanks.
asked Jun 26 adamSw 9.5k points
1 vote
1 answer 8 views
Problem: Hello kodlogs, I am new to the python concept and I want to convert the list to string in python but I am confused that by using string method string( ), is this a type casting that is happening inside the internal or it is normal function become I come from the c++ background an this concept is totally new for me.
asked Jun 25 Gavin 15.2k points
1 vote
1 answer 4 views
Problem: Hello guys, I found python list is fun. I was doing some operation with a python list. Let me say, I have a python list looks: is_a_list = [1, 5, 3, 6, 3, 5, 6, 1] with mixed of duplicate values in it. Now, I am willing to remove all the duplicate elements from the list. How do you do that in an easiest and efficient way? I am eagerly waiting for your answers. Thanks.
asked Jun 25 adamSw 9.5k points