Posts

Members

Info

·280d# Chapter 2

### 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): …

3

·283d# Chapter 2

### Exercise 6, Hanoi tower

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

106

·285d# Chapter 2

### 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 …

5

Deleted·299d# 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.

1

·301d# Chapter 2

### Exercise in chapter 2

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

1

### 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 …

2

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

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

3