• Register
search
Log In

Recent questions tagged python-3

1 vote
1 answer 1 view
Problem: Hello Kodlogs, Myself is a secondary school student. I just started learning computer programming. One of my friends suggested me to start this journey with Python because it’s easier than others. I picked up that. I am regularly watching tutorials on YouTube. Today ... you, but I badly needed a solution. Could you please help me on this regard? Thanks a lot for your valuable time.
asked 8 hours ago adamSw 9.9k points
1 vote
1 answer 3 views
Problem: Hello Kodlogs, I have come up with a fundamental question again. Is it possible to count the values in a Python list? If possible then how do you do it? Let me put the situation this way. If the sample Python list looks like this: my_list = [1, 2, 1, 1, 3, 4, 3, 3, 5] then the output list has to be: 1 2 3 4 5 Note: Even a NumPy solution would be okay.
asked 21 hours ago adamSw 9.9k points
1 vote
1 answer 2 views
Problem: Hello Kodlogs, I am facing a problem regarding one of my Python program. I was trying to input a text file with a few lines from my computer, split the lines into strings, and sort the strings in alphabetic order. However, I’ve opened the file in ... order) in this way: brown dog fox jumps lazy over quick the the Thanks for reading my question with much patience and your answers.
asked 1 day ago adamSw 9.9k points
1 vote
1 answer 3 views
Problem: Hello all, I am a new student of Python programming. I am trying to make a program that will ask for different personal details from the user, and then print them all together in a single line. However, the program is encountering an error of TypeError ... am getting: TypeError: not enough arguments for format string I hope you’ll come forward and help me to save my day. Thanks.
asked 1 day ago adamSw 9.9k points
1 vote
1 answer 2 views
Problem: Hello Kodlogs, I am a student of Java programming. Recently I started my skillset heavier by learning one more programming language. I took up Python for that. It takes a little bit of time to adopt a programming language syntaxes. Anyway, I kept forwarding step ... is the purpose of using a triple quote in Python? Could you please elaborate it a little bit with an example? Thanks, Mate.
asked 1 day ago adamSw 9.9k points
0 votes
1 answer 3 views
Problem: I am looking for a feasible solution for one of my queries. I want to get a random number printed from my Python list, which I created. However, I googled for the solution, and I come to know about the random.choice() function which can help getting a random ... way, how do you use the function in a Python program to get a random number? Could you please leave an example for me? Thanks.
asked 1 day ago adamSw 9.9k points
1 vote
1 answer 2 views
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 2 days ago adamSw 9.9k points
1 vote
1 answer 2 views
Problem: Hello Kodlogs, I am a Java developer and recently trying to adopt a new programming language. Therefore, I took up the Python programming language and started writing codes using it. I was distinguishing the python methods and functions. As far as I come to know ... and how do you implement it in a python program? I am looking forward to having your answers. Thanks for your valuable time.
asked 2 days ago adamSw 9.9k points
1 vote
1 answer 2 views
Problem: Hello all, I joined the forum for a few days back. I posted a few questions regarding my Python issues and got solutions immediately. Thanks for that. Today I come with a new problem. I was practicing file handling in Python. I am suddenly in need ... please share the way that I can go through to know my current working directory? I am expecting your valuable answer. Thanks again, guys.
asked 2 days ago adamSw 9.9k points
0 votes
1 answer 3 views
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 2 days ago Gavin 15.2k points
1 vote
1 answer 2 views
Problem: I was applying some operations on Python arrays. Now, I am thinking of printing the values of an array in reverse order. The last index should print first, and the first index should print last. For example, if the array is: is_an_array = [1, 2, 3, 4 ... iteration over the array to print it reverse way, or any other specific way available? I would love to hear from you. Thanks in advance.
asked 2 days ago adamSw 9.9k points
1 vote
1 answer 2 views
Problem: Hello kodlogs, I am basically new to python programming language just completed the python core topic and started giving the mock test in the basic question but as soon as I started giving the mock test in that there was a question of the python backward range and do python support backward range I am really confused in this topic waiting for the help.
asked 2 days ago Gavin 15.2k points
0 votes
1 answer 5 views
Problem: Hello Kodlogs, I am a c language developer and recently wished to learn one more computer programming language to add more to my skill set. So, given priority to my thoughts, I jumped into learning Python programming. I am solving problems every day with Python. Anyway, I ... the new type of challenge do come in middle now I am facing the using of the argsort in python and how to use it.
asked 2 days ago Gavin 15.2k points
1 vote
1 answer 4 views
Problem: Hello kodlogs, I am new to python programming language and right now I am taking a online classes too but in the python I was attempting some testseries in that there was question of the python pointer and I was really confused about the python pointer ... c language background it was there the concept of pointer to implement the link list but in python I am really confused need help!
asked 2 days ago Gavin 15.2k points
1 vote
1 answer 3 views
Problem: Hello kodlogs, I am new to python language and I am learning the core python, basically, I come from the c language and this is firstly totally new to me so in confused, I know the basic of the python-like core python, I am trying to understand the concept of the hashmap in python it was asked in my one of the python test so wanted to know more about it.
asked 2 days ago Gavin 15.2k points
1 vote
1 answer 3 views
Problem: Hello guys, Recently, I keep fascinating with computer programming. Therefore, I started learning to program with Python. I heard most people saying Python is easier for the beginner. Today I was discovering the loop and iteration techniques in Python. I have ... their usage in an iteration. Thanks for reading the query. I hope you will answer it with clear facts. Thanks again.
asked 2 days ago adamSw 9.9k points
1 vote
1 answer 7 views
Problem: Hello Kodlogs, I am a Java developer and recently wished to learn one more computer programming language to more substantial my skill set. So, given priority to my thoughts, I jumped into learning Python programming. I am solving problems every day with Python. Anyway, I was ... such an option to do that? If you can share the trick with me it would be much helpful for me. Thanks, mate.
asked 3 days ago adamSw 9.9k points
1 vote
1 answer 2 views
Problem: Hello Kodlogs, I am a novice in computer programming. I started learning it using Python language. Today I’ve got an assignment to make a program using given the number of rows and the number of columns, write nested loops to print a rectangle. Now, my ... number. Could you please help me in this regard? How would I do that? Thanks for reading my problem, and helping me. Thanks.
asked 3 days ago adamSw 9.9k points
0 votes
1 answer 4 views
Problem: Hello all, I’ve just completed learning basic python. I am come from the c language background, You may treat me as an intermediate-level python programmer though I know learning has no limit in the programming field. Recently, I started learning data analysis using ... I am a newbie in this field. I am trying to figure out the process of imshow( ) in dataframe using the matplotlib.
asked 3 days ago Gavin 15.2k points
1 vote
1 answer 5 views
Problem: Hello Kodlogs, I am a high school student who loves computer programming. I’ve got a minimal idea on Python programming language, hence I am writing codes using it for years. Today I was solving problems from my math textbook, and I’ve thought ... domain error.” My question is, why is the program’s performance fluctuating? Could you please give me an idea? Thanks.
asked 3 days ago adamSw 9.9k points