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. Ghost

    Python I'm trying to re loop my code and stop when if statement is right

    All you have to do to stop the loop is to change the value of your variable... keep_rolling = "Yes" while keep_rolling == "Yes": print("first loop") keep_rolling = "No" If you make your variable keep_rolling = "Something not equal to Yes" then the loop will stop because it only loops...
  2. Ghost

    Python Key input in python

    Awesome, I'm glad I could help :)
  3. Ghost

    Python My Scientific Calculator Made With Python

    This actually looks quite nice! The only things I would change would be the top color bar and the initial position of the window. It opens up on the bottom of my screen, but is cut off by maybe 20-40 pixels with it going behind/under my bottom dock on Windows. Looks great though! I played...
  4. Ghost

    Python Key input in python

    Hey, here's something you can do... def dialog(text = ""): dialog = input(text) return dialog print("Hi") entry = False while entry is False: entry = dialog() # or you could do like dialog("What is the question?") if entry != "1": entry = False anotherOne =...
  5. Ghost

    Python for else loop

    Do you have indents / tabs set up correctly? Can you share your code with us? I can try to help:)
  6. Ghost

    Python for else loop

    The main problem with this code is that it can only see if a number is prime for the first 100. It's better to be able to check any number, and generate any range of prime numbers on the fly if needed. I strongly advise against using a static list of numbers like this.... Also, if the first...
  7. Ghost

    Python Learning Python

    I have shared a few Python tutorials here, but you can find so much online for free. I highly recommend learning the language. You should make sure you are using the most updated version too, so you're not learning any depreciated or oldschool code that either doesn't work or has better options...
  8. Ghost

    PHP PHP PDO upload image to DB

    I want to reply in full shortly, but for starters... SANITIZE your data!! You need to make sure you check what type of file it is too - by extension or raw meta data for file type. I highly recommend using some prepared queries... You can learn how to write a PHP prepared statement / query with...
  9. Ghost

    What Version Of Windows Are You Using?

    Windows 10 on this one, and Windows 7 on another
  10. Ghost

    Best way to make an app

    No problem! I appreciate your attitude :)
  11. Ghost

    Best way to make an app

    I personally recommend making an app with Electron if you're starting off so you can use HTML/JS instead of a native code. You can then power this up on a computer (Linux, mac, windows, etc) or put it on mobile phones with PhoneGap. That said, there's a lot of benefits to using Java for...
  12. Ghost

    Chromebooks Ideal Solution?

    I had one, but it snapped in half a good few months ago. I don't miss it much. It's nice, but is extremely limited compared to other laptops around the same price. If you can get one for super cheap, then go for it because it's good for on the go... but it's not the best for extensive coding and...
  13. Ghost

    Solved Design also in light

    There are quite a few theme options on the Preferences page. Click your username on top right -> Click Preferences -> Toggle the default theme used. There are some light options, but obviously not 100% matching the official default. I am going to close this thread. Please create a new thread...
  14. Ghost

    Verification badge for people who have a high degree in a particular language?

    So, I think we should have clear standards for them. For example, we should require that they answer or attempt to answer related questions on the forum, possibly also share tutorials, and maybe even pass a verified online coding test for the language. In the future, perhaps each badge can have...
  15. Ghost

    Verification badge for people who have a high degree in a particular language?

    It's my opinion that the badge / verification should be earned by showing the expertise, not just claiming it. Perhaps you're right though, there needs to be other standards to comply with other than a contest for those with less time. I do think that spending time to contribute to CF should be...
  16. Ghost

    Verification badge for people who have a high degree in a particular language?

    I would like to see a requirement that involves coding challenges. I think we should roll out this type of badge gradually, language by language. To earn it, you not only have to participate in the challenge (winning not required), you also have to participate in the section & share at least one...
  17. Ghost

    Have you ever owned a Mac?

    YEah, I have tried C and C++, etc on Windows and I find it super annoying. I am used to being able to run my code very quickly with PHP, Python, Node.js, and even Java... compiling is fine, but I always run into issues with the Cs. It's hardly ever a code issue - it's usually a problem with an...
  18. Ghost

    Have you ever owned a Mac?

    What are some of your favorite things about Windows? For me, I like how much software is available for it. Of course, there is plenty of software for Mac, but when I had my first Mac there was a lot of software and games that were only available for Windows and it was fairly annoying. Especially...
  19. Ghost

    iPad OS

    Yes, the more information, the better! That goes for everyone here, not just Weboogle :) Had you heard about iPadOS before? What do you think about it @OscarDeer ?
  20. Ghost

    News App

    I watch local news occasionally, but I prefer to read my news online rather than listen to people talking about it. I read most of my news from links at Reddit, Hacker News (news.ycombinator.com), and Bloomberg.
Back
Top Bottom