Questions tagged [sentimental]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
45 views

Check does not like my spacing on Mario.sentimental. Is the program unwilling to print ' ' * 0 as no spaces?

I've run this in various configurations, when I remove excess spaces, it still prints out with a space at the beginning of each line. And the center spacing seems to be larger than check50 expects, ...
0
votes
1answer
115 views

Credit.py Invalid Error

For Pset6 Sentimental/Credit, my code keeps showing a result of INVALID\n no matter what is passed in. Debug50 is not working in Python, so I was not able to work through the lines one by one. Any ...
1
vote
1answer
301 views

Specifications for pset 6 - Sentimental

For problem set 6 - sentimental, what are the exact specifications? Explanation of the question: While working on the first problems in this problem set, I made programs which could be checked with ...
1
vote
1answer
248 views

SPEED: python vs C crack program

I have implemented a python and c version of crack way back from problem set 2. Both of them work, and both use the same algorithms/processing just expressed in two different languages. Out of ...
0
votes
1answer
387 views

I have problems applying Credit in python

I try to translate my code from c to python. I review the code several times and I think that is equal, but the program don't works despite in c works prefectly. This is my implementation: """Know ...
0
votes
1answer
20 views

If statement unable to branch in Python

I am importing credit to python. Here in this part of the code, somehow the if condition never branches out. It is always true for the first condition and I always get AMEX as my output. The string ...
0
votes
1answer
213 views

Pset6 Sentimental Mario (more) check50 fails with correct output

My python code works correctly, outputting the appropriate number of spaces and #s to the terminal window, but it fails check50 for one test: :( rejects a height of 24, and then accepts a height of 2 ...