# Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

# pythonproblem

1. ### Python Expression expected ; Statement expected

So hey guys I am totally new to coding and I tried to make a programm that would show me my recipe for my pancakes etc. if I type a certain number from 1 to 3 in there. But it came with a couple problems I dont know how to solve since this is my first time. the first is at print(for) and the...
2. ### Python Imaplib [search, move, delete] Yahoo Mail

Any python experts willing to share there knowledge, please?! Want to: 1. Search ALL folders including SPAM, for "specific_user@ANY (wildcard) domain" 2. Move those emails to folder called DUMP 3. Delete contents of DUMP Unfortunately I can't figure out how to do what I need above in Yahoo...
3. ### Python I want to implement a bootstrap method to get the 95% confidence intervals for a cumulative rate

Hello, I basically have worked out a cumulative rate and have it as a pandas column, see attached below: The confidence bounds I want are for the column CumSum which was calculated from taking all individual rates (Rind ) so Cumsum[0] is the sum of all Rind from Rind[0] to Rind[1663] and...

5. ### Python How can i use this to translate entire words at a time?

I got some code here(can anyone help solve this problem?): while True: n = raw_input("Ltr:") if n.strip() == 'a': print("01100001") repeat='while True' if n.strip() == 'b': print("01100010") repeat='while True' #it goes on for every letter of the...
6. ### Python Need help for quartile code

https://cdn.discordapp.com/attachments/640583239626391553/837043875750215730/unknown.png Basically i need the code to find the second quartile (Q2) with the information of the position of that quartile (PQ2) and the 5 numbers that make up the list. I'm still nerw to coding, I'd really appreciate...
7. ### Python Need help for code that finds quartiles

https://cdn.discordapp.com/attachments/640583239626391553/837043875750215730/unknown.png Basically i need the code to find the second quartile (Q2) with the information of the position of that quartile (PQ2) and the 5 numbers that make up the list. I'm still nerw to coding, I'd really appreciate...
8. D

### Python how is this done?

Implement a function called walker(x) that, given a list x of N numbers [x(0), x(1), x(2),..., x(N-1)], outputs a "walk list" y = [y(0), y(1),..., y(N)], defined recursively as: y(0) = 0, y(n) = y(n-1) + x(n-1), if 0 < n <= N
9. ### Python Need Help/Opinions

Hey guys! I'm making a virtual assistant using python (and probably JS for UI when I can be bothered to). I've got alot of it made already, 4 different version to be exact, and I am planning on open sourcing it soon. Before I do this I have a checklist of what needs to be done before I open...
10. ### Python Why doesn't this output "three" as well?

I am wondering why this only outputs "one" and "two" but not three since elif statements condition is met. Thank you in advance :) x = 1 y = 1.0 z = "1" if x == y: print("one") if y == int(z): print("two") elif x == y: print("three") else: print("four")