I have been stuck on this python challenge http://www.pythonchallenge.com/pc/def/ocr.html . I am familiar with python re module and regex but I don't seem to get what the challenge wants me to do. If there's anyone else that has been there, I'll need some help

Member Avatar
Member Avatar
+0 forum 4

I did code for challenge that I saw posted for C# by deceptikon: http://www.daniweb.com/software-development/csharp/threads/479304/coding-challenge-string-to-date Here it is. Of course normally the code would be without prints and put in function, but this is enough for now for me. There could also be normalization from '/' separated form not producing ambiguous form, checking for single digit month/day. Notice that reversed order of slice assignement is a must as well as variable holding the original length or that length's format!

Member Avatar
+1 forum 0

My acer aspire 5735 laptop wont reboot, it load and freezes on loading windows. If I try rebooting in safe mode it freezes also on loading drives and gives a sound. if I try repairing windows it fails to locate hdd as if it has no hdd...please help

Member Avatar
Member Avatar
+0 forum 1

Hello my fellow Daniwebers. I am to ask for some ideas for a challenge. I want a good challenge for my skills, and even help expand my skills Please post your challenge below. Thanks, Begginnerdev

Member Avatar
Member Avatar
+1 forum 8

Hey IT guys and gals! Thought you'd be interested in checking out something we've been working on over at Dell called Battle IT. https://battleit.thismoment.com/ Battle IT was a 3 day competition where we chose 3 real-world IT pros to go head-to-head on security, IT management and networking challenges. They were judged by Dell networking and enterprise technologists on their ability to complete the most tasks in the least amount of time. Please take a few minutes to watch and vote on your favorite pro!

Member Avatar
Member Avatar
+0 forum 3

I am currently doing a python challenge in which I have to create certain codes. I am stuck on a particularly hard question and would appreciate some help. The problem is: In 1989, a journalist asked Paul Boutin, an engineer at the Massachusetts Institue of Technology, "What do you think will be the biggest problem in computing in the 90s?" Paul replied: "There are only 17,000 three-letter acronyms." To be precise, there are 263 = 17,576. Write a program which takes in a TLA (a three letter abbreviation of the first letters of three words) and a line of text, …

Member Avatar
Member Avatar
+0 forum 2

Write a function estimatePi() to estimate and return the value of Pi based on the formula found by an Indian Mathematician Srinivasa Ramanujan. It should use a while loop to compute the terms of the summation until the last term is smaller than 1e-15. The formula for estimating Pi is given below: As per Ramanujam's estimation (I'm sorry, I'm unable to upload the image) def estimatePi(): import math def factorial(n): if n == 0: return 1 else: return n * factorial(n-1) k=0 final=0 pi=0 while pi<1e-15: a=factorial(4*k) b=(1103+26390*k) c=factorial(k) d=c**4 e=396**(4*k) f=2*math.sqrt(2)/9801 final+=(a*b*f)/(d*e) k+=1 pi=1/final return pi and, my problem …

Member Avatar
Member Avatar
+0 forum 2

In the pencil-and-paper game, Tic-tac-toe, 2 players take turns to mark 'X' and 'O' on a board of 3x3 squares. The player who succeeds in marking 3 successive 'X' or 'O' in vertical, horizontal or diagonal stripe wins the game. Write a function that determines the outcome of a tic-tac-toe game. Examples >>> tictactoe([('X', ' ', 'O'), (' ', 'O', 'O'), ('X', 'X', 'X') ]) "'X' wins (horizontal)." >>> tictactoe([('X', 'O', 'X'), ... ('O', 'X', 'O'), ... ('O', 'X', 'O') ]) 'Draw.' >>> tictactoe([('X', 'O', 'O'), ... ('X', 'O', ' '), ... ('O', 'X', ' ') ]) "'O' wins (diagonal)." …

Member Avatar
Member Avatar
+0 forum 1

Background Due to a decrease in advertising profit, your favorite (and previously free) social networking site has decided to charge a monthly fee to each member. Frustrated, you set out to make your own social networking site, VisageTome. For now, you will need to make a class to store each person's name, favorite food, and list of friends. This class should include methods to access and modify these variables. You will also need to allow the user to modify this information. Requirements Part 1 - Make People Create a class to store the following information for each person: First name …

Member Avatar
Member Avatar
-1 forum 5

the scenario is a fitness test and the challenge was to return a string saying either Gold, Silver, Pass or Fail, depending on certain conditions, they were as follows; gold - the candidate scored 4 or more at each station , and had a total of 13 or more points silver - the candidate scored 3 or more at each station, and had a total of 11 or more points pass - the candidate scored 2 or more at each station, and had a total of 7 or more points fail - less than 2 points for any station or …

Member Avatar
Member Avatar
+0 forum 1

This is a simple game where you get challenges from previous post. And after solving it you through a new challenge for next one. This challenge is based on programming....(Using any programming language like C,C++,Java,VB,JavaScript..... etc) Some guidelines [LIST=1] [*]Each challenge must solved by a simple program. [*]You have to provide the challenge description and its input set [*]Winner must be submit output set [*]Everyone have to quote last challenge with his answer so that if answer is wrong others can try. [*]Each challenge must have to solve in between 1 day. [*]Anyone can post his own challenge but first …

Member Avatar
+0 forum 0

Ok, so im trying to make my sister a flashcards program with dev c++. What you do is put in the deck name and how many cards you want. Then you go through for each card and put in what's on the front and back. I also want it so you can go back in later and access that deck again. I also want it to have graphics and text input boxes, not the boring black box. It would be grand if you could give me a very rough block of code for it. Thanks!

Member Avatar
Member Avatar
+0 forum 20

Is there any ways to allow the text box in a report to show the lastest date from the database? For example: 24/2/2007 15/4/2009 21/6/2009 14/7/2010 13/10/2010 i want the text box to have 13/10/2010, which is the lastest date out of the 5 date(which I have more in my database).

Member Avatar
Member Avatar
+0 forum 1

The question I am going to ask involves Mircrosoft Access and VB and I am stuck with it. This is the question: I have 4 peoeple: L, M, N, O, P there are 4 object: a, b, c, d, e L has: a, c, d M has: a, d, e N has: b, d, e O has: b, c. d If I change the a to another name call 'z', I want onli L and M to change as well. Is there any code which I can use?

Member Avatar
Member Avatar
+0 forum 1

I am having an extremely difficult time with this programming challenge I have to do. I have no idea where to begin on this. I am a beginning programmer ([i]obvious I know[/i]), and here are my instructions for the challenge: [b] "Write a class EncryptableString that is derived from the STL string class. The EncryptableString class adds a member function void encrypt( ) That encrypts the string contained in the object by replacing each letter with its successor in the ASCII ordering. For example, the string baa would be encrypted to cbb. Assume that all characters that are part of …

Member Avatar
Member Avatar
+0 forum 3

The End.