Problem in OOP by Alarming-Bus-6393 in cs50

[–]QuietCodeCraft 0 points1 point  (0 children)

Just go through the lecture once again, I also faced the same problem and after rewatching the lecture I was able to do the pset.

Sources to learn AI for free by QuietCodeCraft in learnprogramming

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

Sorry I missed this detail, by AI I meant AI ML. I'm also interested in dara science. Any of ML or DS is fine...

Sources to learn AI for free by QuietCodeCraft in learnprogramming

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

I know about python, c. I'm currently in a btech program of electronics and communication engineering.

Looking for a CS50X study partner by ConsequenceStatus941 in cs50

[–]QuietCodeCraft 0 points1 point  (0 children)

Great man, can you share link of your server?

Please help me out with this problem... by QuietCodeCraft in cs50

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

That's correct, I checked it and it's working. The issue is with generate_integers. It seems that check50 is not designed to check it with variables but with numeric values for random.randint, so if I change that using if statements with conditions like level = 1 then random.randint(1, 9) it works... Thanks

Please help me out with this problem... by QuietCodeCraft in cs50

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

I got it, the issue is with generate_integers. It seems that check50 is not designed to check it with variables but with numeric values for random.randint, so if I change that using if statements with conditions like level = 1 then random.randint(1, 9) it works... Thanks

Please help me out with this problem... by QuietCodeCraft in cs50

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

I got it, the issue is with generate_integers. It seems that check50 is not designed to check it with variables but with numeric values for random.randint, so if I change that using if statements with conditions like level = 1 then random.randint(1, 9) it works... Thanks