0

import math

def board_gen(width, height):


height = int(height)
width = int(width)
xo =

strt_ltr = 1
board = []

for row in range(1, (height+1)):
strt_ltr = int(math.sqrt((strt_ltr-1)**2))
line = xo[strt_ltr:(width+strt_ltr)]
board.append(line)
return board

config =
if (height%2==True):
print config[0:width]
else:
print config[1:width]


I do not know where to go from here :( someone pleaseeeeeeeeeeeee HELP ME

3
Contributors
2
Replies
3
Views
5 Years
Discussion Span
Last Post by JoshuaBurleson
0

Need urgent help on python coding!

It is not our fault that you waited until the last minute.

I do not know where to go from here

Neither do I as I do not know what your assignment says you should code.

pleaseeeeeeeeeeeee HELP ME

And most especially, no one wants to see the site turn into a place where children beg for someone to do it for them.

Edited by woooee: n/a

0

also use code tags when posting code. And as woooee said, this isn't doyourhomeworkweb it's Daniweb, read the forum rules.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.