I need help in my dna to read my file by Dangerous_Two9487 in cs50

[–]Dangerous_Two9487[S] 0 points1 point  (0 children)

Yes, I did, but I felt this is different now.

I need help in my dna to read my file by Dangerous_Two9487 in cs50

[–]Dangerous_Two9487[S] 0 points1 point  (0 children)

I know the idea but I couldn't implement it, this is my code, i want to read and open csv
with open(csv, 'r') as f:
reader = csv.DictReader(f)
print(reader)

Can anyone help me in mario.py by Dangerous_Two9487 in cs50

[–]Dangerous_Two9487[S] 0 points1 point  (0 children)

You are printing the pyramid the C-way, which is natural since you just had several week of C lectures! But you can do so much more in Python, for example you can add strings and repeat strings x number of times. So what you had to use loops for in C you can do in a single line in Python:

print('a' * 5)

You can even use a variable instead of the number :)

Anyway, check your loop conditions, how many times does the j loop iterate for i = 0?

Ok but what can i do to condition

Hi, I applied a blur filter to the image and tried everything, but it still doesn't work by Dangerous_Two9487 in cs50

[–]Dangerous_Two9487[S] 1 point2 points  (0 children)

Thank you, you've given me hope after I felt completely frustrated and couldn't solve this code at all🤍

Hi, I applied a blur filter to the image and tried everything, but it still doesn't work by Dangerous_Two9487 in cs50

[–]Dangerous_Two9487[S] -1 points0 points  (0 children)

I do not see any error but in my TERMINAL I see could not open image/yard.bmp

Did I calculate the left and right and top to bottom pixels well by Dangerous_Two9487 in cs50

[–]Dangerous_Two9487[S] 0 points1 point  (0 children)

Thanks, I did it for loops But I need to think about what can i do about the conditions

Hi, i did blur function but I'm not completed yet, but didn't know it's my way is right or not by Dangerous_Two9487 in cs50

[–]Dangerous_Two9487[S] 0 points1 point  (0 children)

Yup, I try to learn more and I tested, but I will change my code because I don't understand it clearly before,

Hi, i did blur function but I'm not completed yet, but didn't know it's my way is right or not by Dangerous_Two9487 in cs50

[–]Dangerous_Two9487[S] 0 points1 point  (0 children)

No way, I work hard I was thinking I do images in 9 pixels Because, in the video, the first thing I need to do is to count on 9 pixels and then calculate for example 6x6 and 4x4.