menu
announcement

Spectrum is now read-only. Learn more about the decision in our official announcement.

Elementsofai

Elements of AI is a two part online course about AI and this community is for the participants of the course to discuss. Please join our new community at https://community.elementsofai.com/

Channels
Team
Posts
Members
Info

Exercise 7: Flip the coin

Hi, I wrote a code that counts the number of "11" and gives the correct output of 2 but I still get fail when testing my solution. I don't know any other way to solve it. This is the code I wrote: def count11(seq): …

message-simple
3

Exercise 6, Hanoi tower

I must admit, I didn't understand what to do in this exercise. Would have needed more explanation.

message-simple
106

Can you please tell me what is wrong with my code- Chapter 2 exercise 7

import numpy as np def count11(seq): define this function and return the number of occurrences as a number …

message-simple
5
Deleted·135d# Chapter 2

meaning of game trees

it is a graph consisting of nodes and edges that represent all the possible legal moves of a (board) game.

message-simple
1

Exercise in chapter 2

I don't understand about transition of search and problem solving module in chapter 2. Anyone can help me? :(

message-simple
1

I need help and clarity

Please who understands the logic behind the towers of hanoi

message-simple
4

Exercise 2: Pineapple route emissions Intermediate - 'printTest' error

My code appears to run as expected, but fails in Test with the following error: Traceback (most recent call last): File "/lib/python3.8/site-packages/pyodide/_base.py", line 70, in eval_code …

message-simple
2

Toy problem: chicken crossing

Can anyone explain how the states got connected with each other?

message-simple
48

Greetings from Habib Qais - a new member of ELements of AI

I have trouble understanding the chapter two exercise, can anyone help me?

message-simple
3

i think more examples will bill the ring and clear the concept

message-simple
0