#!/usr/bin/python2.7
#-*- coding: utf-8 -*-

import random, string

mapSize = raw_input('Enter a size for the map: ')



def random_generator(size=int(mapSize), chars=" "+" "+" "+" "+" "+" "+" "+" "+" "+" "+" "+" "+"*"):
    return ''.join(random.choice(chars) for x in range(size))

newMap = open("map.txt", "w")
newMap.write(mapSize+"\n")
for nbLine in range(int(mapSize)):
    newLine = random_generator()
    newMap.write(newLine+"\n")
newMap.close()

a4086d77d74b5d136ef38b0246674444df8cfa59
<mask token>


def random_generator(size=int(mapSize), chars=' ' + ' ' + ' ' + ' ' + ' ' +
    ' ' + ' ' + ' ' + ' ' + ' ' + ' ' + ' ' + '*'):
    return ''.join(random.choice(chars) for x in range(size))


<mask token>

<mask token>


def random_generator(size=int(mapSize), chars=' ' + ' ' + ' ' + ' ' + ' ' +
    ' ' + ' ' + ' ' + ' ' + ' ' + ' ' + ' ' + '*'):
    return ''.join(random.choice(chars) for x in range(size))


<mask token>
newMap.write(mapSize + '\n')
for nbLine in range(int(mapSize)):
    newLine = random_generator()
    newMap.write(newLine + '\n')
newMap.close()

<mask token>
mapSize = raw_input('Enter a size for the map: ')


def random_generator(size=int(mapSize), chars=' ' + ' ' + ' ' + ' ' + ' ' +
    ' ' + ' ' + ' ' + ' ' + ' ' + ' ' + ' ' + '*'):
    return ''.join(random.choice(chars) for x in range(size))


newMap = open('map.txt', 'w')
newMap.write(mapSize + '\n')
for nbLine in range(int(mapSize)):
    newLine = random_generator()
    newMap.write(newLine + '\n')
newMap.close()

import random, string
mapSize = raw_input('Enter a size for the map: ')


def random_generator(size=int(mapSize), chars=' ' + ' ' + ' ' + ' ' + ' ' +
    ' ' + ' ' + ' ' + ' ' + ' ' + ' ' + ' ' + '*'):
    return ''.join(random.choice(chars) for x in range(size))


newMap = open('map.txt', 'w')
newMap.write(mapSize + '\n')
for nbLine in range(int(mapSize)):
    newLine = random_generator()
    newMap.write(newLine + '\n')
newMap.close()

#!/usr/bin/python2.7
#-*- coding: utf-8 -*-

import random, string

mapSize = raw_input('Enter a size for the map: ')



def random_generator(size=int(mapSize), chars=" "+" "+" "+" "+" "+" "+" "+" "+" "+" "+" "+" "+"*"):
    return ''.join(random.choice(chars) for x in range(size))

newMap = open("map.txt", "w")
newMap.write(mapSize+"\n")
for nbLine in range(int(mapSize)):
    newLine = random_generator()
    newMap.write(newLine+"\n")
newMap.close()
