User Profile

Collapse

Profile Sidebar

Collapse
pythonlearner
pythonlearner
Last Activity: Oct 18 '14, 06:39 PM
Joined: Sep 24 '14
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • can we do this by using a function?im new to python, and i want to know if there is some way to do it by using function.
    thank you.
    See more | Go to post

    Leave a comment:


  • to make worrd puzzle through python programming

    is there any way we can make word puzzle using python programming in 2 dimensional way???
    i made 'file_name.txt' containing (asdfghklo)
    and i need to make some valid words from that txt file (sad,had,gas), which i saved on a 'input_word.txt ', can we make our program that read these two files and ??
    i got this so far:-


    '''Original puzzle:
    | a | s | d |
    | f | g | h |
    | k | l | o |...
    See more | Go to post

  • my bad my question wasn't completely typed over here.
    so here's my question:-
    Write functions to implement(simul ate) built in Python functions for the following:

    my_append(list, z)

    my_extend(list, z)

    my_insert(list, i,y)

    my_len(list)

    my_pop(list,[x])

    my_reverse(list )


    please help..
    thanks in advance!!!
    See more | Go to post

    Leave a comment:


  • Function that is equivalent to the built-in list method count

    here is sample for my_count(list,o bj)
    Code:
    def my_count(my_list,my_obj):
        """ This function is equivalent to the built-in list function "count". """
        if not(my_obj in my_list) :
            return 0
        else:
            count_int=0
            for current_obj in my_list:
                if current_obj==my_obj:
                    count_int=count_int+1
    ...
    See more | Go to post
    Last edited by bvdet; Sep 24 '14, 01:11 PM. Reason: Please use code tags when posting code [code].......[/code] - Also clarify title
No activity results to display
Show More
Working...