
Trollcontrol
u/Trollcontrol

Hi,
This frog, named froggus got into a bit of trouble in my AC unit and I'm trying to help froggus get back on their feet as it was quite a stressful, near death experience.
he/she has been sleeping a lot, and I think it recovering well.
Could anyone help identify or give advice how best to help him/her out.
In west central florida area
Thanks all
Hello all.I have completed my implementation of finance.
It works without any errors for me, however check50 is throwing a Nonetype error. See picture
I have tried debugging my code by using Pycharm. I have tried going over the sell part, and I don't find any issues. Then I thought perhaps it happens at the end of the buy function, and found nothing that would throw a nonetype error.
Currently I'm at a total loss, and don't know how I should proceed
this is the debug log from check50, i have made the part where the problem happens bigger:^((DEBUG) {'slug': 'cs50/problems/2023/x/finance', 'results': [{'cause': None, 'data': {}, 'dependency': None, 'description': '
Hi guys, I have had problems in regards to counting sentences.
It leads me to a more general Python question.
Comparing the looping character c to '.' '?' and '!' got my code working in check50
def count_letters(text):
letters = 0
words = 1
sentences = 0
for c in text:
if c.isalpha():
letters += 1
continue
if c.isspace():
words += 1
continue
if c == ".":
sentences += 1
continue
if c == "!":
sentences += 1
continue
if c == "?":
sentences += 1
However the more elegant syntax solution, does
I'm so happy !
Week 3 and 4 were rough. I didn't go back to give Tideman a go yet .... Maybe later on
However I'm so ecstatic to finish week 5. Optimizing the hash function was a lot of fun, I was really happy with the result!
Excited to see Python, SQL etc. coming up! Sorry had to share somewhere <3
I am in love with this course, thank you CS50 Staff for this opportunity, this experience for me is beyond words
Hi all,
So I have solved this problem, and didn't find it too difficult. However I was struggling for a long time to pass check50 in regards to the volume checks.
I initially wrote this the volume part as such:
while (!feof(input))
{
fread(&buffer, 2, 1, input);
buffer *= factor;
fwrite(&buffer, 2, 1, output);
}
It seemed to change the volume but did not pass check 50. Then I tried
while (fread(&buffer, 2, 1, input))
{
buffer *= factor;
fwrite(&buffer, 2, 1, output);
}
With the second line of code, how does it know when to stop reading or writing?
Is the !feof() redundant? or is it useful in other situation?
Ca
Hi.
I solved this practice problem, and it works as intended.
However it leaves me with a syntax question regarding arrays, particularly when used as function arguments. I have highlighted the code in question in bold
Thank you
:
------------------------------------------------------------------------------------------------------------------------------
#include <cs50.h>
#include <ctype.h>
#include <stdio.h>
float calc_hours(int hours[], int weeks, char output);
int main(void)
{
int weeks = get_int("Number of weeks taking CS50: ");
int hours[weeks];
for (int i = 0; i < weeks; i++)
{
hours[i] = get_int("Week %i HW Hours: ",
Hi I've been playing for about 2 years now I'm looking on settling on a jg pool, to climb to gold with. I've gotten stuck in silver Something you think would work into season 13 with the jg overhaul would help too. I have been playing a lot of kindred, i often do well, hut struggle to have much impact if team feeds.
Any opinions would be nice
Everyone I bug target in TWS and turn on auto, my radar loses lock and changes its pitch outside of target. Is this just me, or am I using it wrong? I was under the impression it should automatically slew radar to keep contact within elevation + bearing
First time taking part
Looking for people to have fun with, while giving it our best effort
Add PPDifferential
Cu guys out there !
Blizzard instantly chat ban me for writing Free HK.
Nice censorship
This is a nice touch too:
OH NO!
Your account is currently silenced in-game. You may not post on the forums.
This is the company you're all supporting, so afraid and scared <3
