write a method that returns the longest common prefix of

Project Description:

write a method that returns the longest common prefix of two strings. for example, the longest common prefix of distance and disinfection is dis. the header of the method is:def prefix(s1, s2)if the two strings have no common prefix, the method returns an empty string. write a main method that prompts the user to enter two strings and displays their common prefix.
Skills Required:
Project Stats:

Price Type: Negotiable

Expired
Total Proposals: 5
1 Current viewersl
36 Total views
Project posted by:

Proposals

Proposals Reputation Price offered
  • 4.8
    60 Jobs 32 Reviews
    $0 in 0 Day