« first day (1458 days earlier)      last day (1883 days later) » 

1:21 AM
does anyone know the answer to this:
0
Q: Testing a decorator that wraps api routes

Yang KI am building a rest api and I was making the routes for the api and stumbled upon a problem. I am using flask restplus to build the api and marshmallow to validate the json sent by the client. My design: I use a decorator that is used to wrap every api route. this decorator validates the json s...

 
1:40 AM
1 message moved from Python
1 message moved from Python
 
2:16 AM
Question: My program fulfills its intended purpose, which is to find the sum of the even terms of the first n fibonacci numbers. However, it doesn't actually generate n numbers. Why?
Any help is appreciated
Any ideas @PM2Ring
 
2:54 AM
@DarkRunner Sorry, I'm on my phone, and repl.it is almost unreadable. However, this is the Python room, so we don't answer Swift questions. And I don't know Swift, but I couldn't see anything obviously wrong.
 
@PM2Ring Thanks for trying
I had to try here, because the Swift room is essentially dead
 
@DarkRunner I see. :) If you translate your code into Python, then we can help. :D I guess you've noticed that the even terms follow a regular pattern. That can be generalized.
 
3:22 AM
Interesting
 
 
3 hours later…
6:21 AM
@DarkRunner no, you didn't have to try. You chose to try. annoying people with a language they don't use is plain rude.
11 messages moved from Python
 

« first day (1458 days earlier)      last day (1883 days later) »