Welcome to Code Forum!

Join a community that supports you and your coding journey from day one. We strive to be a friendly, supportive community that empowers everyone to be better developers. By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

Search results

  1. S

    Python Out of these 500+ projects which project should I choose for final year project?

    My criteria for choosing this project-: 1) Should be easy. 2) Should be doable in 1.5 months. 3) Should not to be too easy and should be just hard enough to be a major project. 4) It is a group project but since this is nepal lol mainly 1 person is going to do it. max 2 persons will do this...
  2. S

    Python How to deal with learning plateau in CS?

    I have reached a place where I can no more learn new concepts. I feel totally stuck.How do I deal with learning plateau? How do I overcome this plateau. Few things that come in my mind-: 1) Follow a good course from a good teacher. 2) Read it aloud. 3) Practice the same thing multiple things...
  3. S

    Python How do I run this project?

    This is not properly documented. So I am wondering how to run this code? I know it is too much of work for you...but if you have time it would be really nice of you. https://cvit.iiit.ac.in/research/projects/cvit-projects/speaking-by-observing-lip-movements
  4. S

    How do I level up my brain to be able to learn complex topics like artificial intelligence?

    I am studying AI for college exam. https://www.ioenotes.edu.np/ioe-syllabus/ioe-syllabus-artificial-intelligence-ai-378 The thing is here I am totally on my own as I don't have teacher due to some random reason. Even if I had, they were worst so it doesn't matter I have teacher or not. I have...
  5. S

    Python What is the easiest application(website) that you can make that uses database?

    I have an upcoming assignment that I need to make an application that uses database, that has frontend. What can I make? Things I am thinking about-: 1) User authentication 2) To do website. What else are possible, please open my mind? I am creating it in django. I want it to be easy as I...
  6. S

    Python playing with digits codewar problem-looking for alternative way to solve this problem-mathematical way to solve this problem-:

    https://www.codewars.com/kata/5552101f47fc5178b1000050/train/python playing with digits codewar problem-looking for alternative way to solve this problem-mathematical way to solve this problem-: This is how I youtube'd and found a solution-: n=89 p=1 my_sum=0 for num in str(n)...
  7. S

    Python Need to make application that uses database? What should I make as someone who knows 0 thing about programming(I know basic python syntax)

    I need to make an application that uses database in python, what should I make? Firstly I need to tell about me. I know 0 about programming. I have learnt basics of python only. What are the apps that use database that are upto my level of programming? I am planning to use django...
  8. S

    Python Python-Confused in list comprehension-:

    Python-Confused in list comprehension-: I want to find difference between two list. I came across sth called list comprehension. I can't tell you how confused I am with this. # Python 3 code to demonstrate # to remove elements present in other list # using list comprehension # initializing...
  9. S

    Python Find next perfect square not working in python

    I need a way to do this-: If I input 25, answer should be 5 as integer. If I input 24 answer should be 4.898989486 float. Is this possible to do in python?
  10. S

    Python Find next perfect square not working in python

    I think I found the problem sq=25 sq2=(sq**(1/2)) print(sq2) xyz=isinstance(sq2, int) print(xyz) This generates output as 5.0 and false. I need a way to get integer as sq2.
  11. S

    Python Find next perfect square not working in python

    My logic is that xyz checks if $(sq)^0.5$ is integer or not. If it is integer we find next perfect square, else we return -1
  12. S

    Python Find next perfect square not working in python

    def find_next_square(sq): # Return the next square if sq is a square, -1 otherwise sq2=(sq**1/2) xyz=isinstance(sq2, int) if (xyz==True): print("Is perfect square") nextsq=sq+1 print("Next perfect square=",nextsq**2) else: print("Not perfect...
  13. S

    Python Nested loop in python, help understanding with dry run.

    Here is the code that I am talking about-: n=int(input("Enter a number")) for num in range(2,n+1): for i in range(2,num): if(num%i==0): break else: print(num,end="") If I give n=5 output should be 2,3,5. Here is my dry run. Everything is fine except for 2...
  14. S

    Python How to check a string is odd palindrome in python?

    I am learning to code and 1 thing that surprises me is how do I internalize all the code? I understand the code. I know the algorithm as well. But I want to be able to solve any types of problems(related ones) after learning 1 code. How do I become able to do that? So for that I am first trying...
  15. S

    Python what what should I do while learning programming?

    Here is what I have planned to do-: 1) Do 1 course. 2) Buy a python textbook and solve it exercises and examples. 3) Solve 250 codewars problems 4) Do numerical methods in python. 5) Do cryptography algorithms in python. Will this be enough for my learning to be good enough to be a web developer...
  16. S

    Python How to learn python programming and get a web developer job?

    got it. can you share the phase of learning programming like what should i learn after what?
  17. S

    Python How to learn python programming and get a web developer job?

    I am learning absolute basic python from udemy course. Till now I see no improvements at all. Except some small small improvements. How should I approach to learn python? I have 0 basics of programming even though I had already studied C and C++ as well as data structures and algorithm. I...
  18. S

    Python I need guidance to choose my electives as computer engineering student.

    How do I choose a good elective? I want sth that gives me good marks as i am in final year 2nd semester. I want sth that has good courses over the internet. I don’t want you to pick it up for me but in general just guide me about how to choose the elective? I will put only ones that I am...
  19. S

    Python TypeError: 'str' object is not callable

    str1 ="100" y = str1+ "200" print(y) output-: 100200 Now I want to do it differently like this-: str1 ="100" y = str1+ str(200) print(y) error-: str object not callable. Why am I getting this error? I have studied that str(123)="123". if that's the case, why is this code not...
  20. S

    Python Confused in name binding in python

    (I Didn't use code formatting here as I felt it was not necessary) I have read multiple textbooks, articles and watched multiple videos about name binding in python. Till now what I understand can be summarized in this-: x=1 means name x is binded to object "1" z=x and we know x=1 => z=1 so...
Back
Top Bottom