Warnung: mysql_query(): Access denied for user ''@'localhost' (using password: NO) in [path]/includes/class_postbit.php(293) : eval()'d code (Zeile 7)

Warnung: mysql_query(): A link to the server could not be established in [path]/includes/class_postbit.php(293) : eval()'d code (Zeile 7)

Warnung: mysql_fetch_assoc() expects parameter 1 to be resource, boolean given in [path]/includes/class_postbit.php(293) : eval()'d code (Zeile 8)

Warnung: mysql_query(): Access denied for user ''@'localhost' (using password: NO) in [path]/includes/class_postbit.php(293) : eval()'d code (Zeile 7)

Warnung: mysql_query(): A link to the server could not be established in [path]/includes/class_postbit.php(293) : eval()'d code (Zeile 7)

Warnung: mysql_fetch_assoc() expects parameter 1 to be resource, boolean given in [path]/includes/class_postbit.php(293) : eval()'d code (Zeile 8)
Random Walk in Python Code - Foren
Mitglieder Suche
Vorname, Nachname
Beruf
Postleitzahl
Entfernung
Kooperationspartner
Wer ist online?
Mitglieder:
Gäste:
© 2010 grafiker.de | Design & Copyright by snygo.media
Benutzername:
Passwort:
Zum Thema: Programmier-Trends
Alt 03.06.2017, 11:58
Gast

I need to modify this code to show a random walk on a 10*10 matrix. The walker will move by one element at a time labeled A through Z by moving up,down,left or right. The walker can never go outside of the matrix either.

Please help, I have never looked at programming before and I am completely lost.

#You need to debug and modify the program so that it is able to do random walking
import random


Please Help.
Thanks !

I didn't find the right solution from the internet.
References:
- www.able2know.com
- 3D Animated Corporate Video Examples
Alt 21.02.2018, 08:54
Gast

Hey, why dont check google? If you need to learn python, check codecadamy or codefights