Search:

Type: Posts; User: Yozuru; Keyword(s):

Search: Search took 0.00 seconds.

  1. Re: Python - Classes: Remove every occurrence from an object

    Hi Ian!

    It is not a homework assignment but a practice problem that I am doing so I can better understand classes. If they are classified the same then I apologize. :)

    I will take a look at...
  2. Python - Classes: Remove every occurrence from an object

    Hello everyone!

    I am having a lot of trouble with classes, I understand it but I am unable to do this practice problem from my book.

    So I need to make a function that removes every specific...
  3. Replies
    5
    Views
    428

    Re: Python - No such file or dictionary

    Ahh interesting, I'll give that a shot later and see if I can figure it out. As always, I appreciate it!

    @Ian: Yes and no, its not mandatory since I am just trying to get better with the language,...
  4. Replies
    5
    Views
    428

    Re: Python - No such file or dictionary

    Hello nidzo!

    I have just taken in what you just said and change my program. (Helps out a lot! It alive eeek!)

    This is a pastebin of my code so far: http://pastebin.com/Mz8MfD4p (Updated my...
  5. Replies
    5
    Views
    428

    Python - No such file or dictionary

    Hello ubuntu forums! It has been awhile, I have picked up Python again and I am practicing with files. I can't seem to make my function to work. So here is the goal I am trying to acheive:


    ...
  6. Replies
    5
    Views
    394

    [SOLVED] Re: Python - List Comprehension Problems

    You're wonderful steel!

    I say there is no right way of coding in python as long as it solves it. (:

    Many thanks for your help!
  7. Replies
    5
    Views
    394

    [SOLVED] Re: Python - List Comprehension Problems

    I have solved my first problem right now using:


    subsampleList = [x for x in sampleList if -10 <= x <= 10]

    I still need a bit of help figuring out the second one.
  8. Replies
    5
    Views
    394

    [SOLVED] Python - List Comprehension Problems

    Hello good people,

    I am working on a practice problem that involves list comprehension and range.

    So I have a list called 'sampleList', and I have to write a list comprehension that would...
  9. Replies
    2
    Views
    372

    Re: Python - Invalid Syntax

    Of course if it makes it easier to read!


    def isPerm(P):
    count = 0
    perm = list(range(len(P)))
    for i in P:
    if i in perm:
    count += 1
    if count == len(i)
  10. Replies
    2
    Views
    372

    Python - Invalid Syntax

    Hello everyone, I am still fairly new to python and I have received an invalid syntax error and i can't seem to resolve it at all. Here is a pastebin of my code:
    http://pastebin.com/STc1FWCR

    I...
  11. Re: Pythonic Way of Doing this problem in lexical order

    Many thanks to all of you for your inputs. I have a better understanding of the material! Its interesting that there is so many different ways of doing this.

    When I mean skipping the longest...
  12. Pythonic Way of Doing this problem in lexical order

    Hello good people, I am doing practice problems for python 3.3. I managed to finish it and got it to work, however, I was wondering if there is a pythonic way of doing this. I understand the basic...
  13. Replies
    3
    Views
    403

    [SOLVED] Re: Python- Help on a question (tabstop)

    Ahh interesting! I forgot about list unpacking. :) Thanks guys.
  14. Replies
    30
    Views
    1,628

    Re: Are tablet sales hurting Ubuntu?

    The hype of the tablet market is huge right now, I say there is a impact but not enough to impact the production.
  15. Replies
    17
    Views
    1,137

    Re: Old CB Radio Restored

    That is so cool! Its like a glimpse into the paste. Good quality hardware!
  16. Thread: Is Windows bad?

    by Yozuru
    Replies
    90
    Views
    4,790

    Re: Is Windows bad?

    Well it depends on what your use and purpose for it is. Mac is generally easy to use, Windows is on a intermediate level unless you have been with the OS family for years.
  17. Replies
    52
    Views
    8,058

    Re: Are Password Managers Really Worth It?

    I say they are if you have multiple accounts with various different passwords associated with them.
  18. [SOLVED] Re: value != ascii character

    Ahh that makes a lot of sense! Many thanks for your help. (:
  19. Replies
    3
    Views
    403

    [SOLVED] Python- Help on a question (tabstop)

    So I am doing practice problems I found online for python. The question goes as follow:

    "Proceed to write a function called detab(string, stop) where string is any string, and stop is a positive...
  20. [SOLVED] Python - Function that averages user input numbers.

    Hello good people,

    I am working on a function that prompts a user for a numerical character and ends when a non-numerical character is inputted.

    In my code, I managed to get it to prompt for a...
  21. [SOLVED] Re: Python - Caeser Cipher encryption function not working with string bigger than 1

    Many thanks to the both of you! I am still learning .join so I am not so familiar with it yet. I'll already readjusted my function code with your suggestions and it works wonderful.

    You're...
  22. [SOLVED] Re: Python - Caeser Cipher encryption function not working with string bigger than 1

    Many thanks for the suggestions to work on. Using: cipherText = addchr(keyValue, m). I wanted to add the key with whatever string was input. for example:

    encr('a', 'abc')

    It would return back...
  23. [SOLVED] Python - Caeser Cipher encryption function not working with string bigger than 1

    Hello good people,

    I have recently started to learn python and I am having trouble with a function. I am working on an encryption program that takes a key of a lower case letter and a message...
Results 1 to 23 of 23