Re: [Tutor] =Linked List Using Map

2015-04-19 Thread niyanaxx95
Thank You Steven for your great help You really helped me to understand my assignment more as well as what maps and linked lists are. I used your guidance and came up with my full code. May you take a look and let me know what needs to be changed? Thank you in advance. class Node:

[Tutor] =Linked List Using Map

2015-04-17 Thread niyanaxx95
Sent from Windows Mail From: Ni'Yana Morgan Sent: ‎Friday‎, ‎April‎ ‎17‎, ‎2015 ‎2‎:‎06‎ ‎PM To: tut...@python.org Hello I need guidance trying to solve my assignment. I am completely lost when using maps with linked lists. I understand linked lists though. May someone work with

Re: [Tutor] Reversi Game Logic

2015-03-20 Thread niyanaxx95
Thank you Danny Yoo for replying. I figured out what to do for the isLegalMove but I ran into another problem. I now get a traceback error every chip is black. This is the traceback: Traceback (most recent call last): File "C:\Python34\lib\tkinter\__init__.py", line 1487, in __call__ re

Re: [Tutor] Reversi Game Logic

2015-03-20 Thread niyanaxx95
I am very new to Comp Science and am still learning. I have attached the programs needed for testing to show that I am testing my code as well as the instructions provided for my project. Please help me out! Sent from Windows Mail From: Ni'Yana Morgan Sent: ‎Friday‎, ‎March‎ ‎20‎, ‎2

[Tutor] Reversi Game Logic

2015-03-19 Thread niyanaxx95
I am having trouble with a function in my reversi logic code. The function is the isLegalMove I am asked to "Return a Boolean indicating if the current player can place their chip in the square at position (row, col). Both row and col must be valid indices​." So I came up with my code below, how

[Tutor] Fixed Vector Array

2015-03-04 Thread niyanaxx95
Need help trying to implement insert, remove, indexof, and reverse functions. I tried to do them but am not sure if it is correct. I am struggling with arrays. This is python and using ezarrays. Assignment: A fixed vector is very similar to the vector in that it is a sequence container th

[Tutor] Sets Python

2014-12-01 Thread niyanaxx95
I am not understanding how I am supposed to do the highlighted things on the problem statement. If someone could please direct me on the steps to go about doing what is highlighted. Have do I read each command, by making the program read each line?? How do I add the invalid commands into a set?

[Tutor] Empty GraphicsWindow

2014-11-20 Thread niyanaxx95
I need help figuring why my GraphicsWindow empty, I cannot figure out why it is empty. Here is my code : # Import graphics from module from graphics import GraphicsWindow tileSize = 0 def main() : # Define global variables tilesInRow = 0 tilesInCol = 0 gapX = 0 gap

[Tutor] Input Files

2014-11-19 Thread niyanaxx95
How do I know write the loop code for the table for both inputfiles, Table1.txt and Table2.txt and make a third table from the elements multiplied in table1.txt and table2.txt. I'm trying to Check the size of the two tables to make sure they both have the same number of rows and columns o If the

[Tutor] Fw: Traceback

2014-11-18 Thread niyanaxx95
I get this message: Traceback (most recent call last): File "C:\Program Files (x86)\Wing IDE 101 5.0\src\debug\tserver\_sandbox.py", line 87, in File "C:\Program Files (x86)\Wing IDE 101 5.0\src\debug\tserver\_sandbox.py", line 20, in main File "C:\Program Files (x86)\Wing IDE 101 5.0\src

[Tutor] Tile Code

2014-11-14 Thread niyanaxx95
Statement: 1. The first and last tile in the first row shall be black. 2. The first and last tile in the first column shall be black. 3. The tiles will alternate between black and lemon The task is to write a function to compute and print:  the number of tiles needed in the first row (the num

[Tutor] Creating Table

2014-11-12 Thread niyanaxx95
Create a table based on two user inputs. Have the user enter two integers between 2 and 6. Validate the user inputs are in the proper range as they are entered. The first integer represents the number of rows in the table. The second integer represents the number of columns. Create the t

[Tutor] Creating Lists

2014-11-12 Thread niyanaxx95
Create a list of 20 unique (no number appears twice) random integers with values between 1 and 45. Print the list of random numbers with the header “Random list of 20 numbers”. Find the largest number in the list. Remove the largest number from the list. Find the smallest number in the list.

[Tutor] Tile Code Program

2014-10-10 Thread niyanaxx95
This is the prompt: Write an algorithm / pseudocode that: • Reads in a two integers; the width and length of a room. i. The valid range for the width (x-axis) of the room is between 100 and 1000 pixels. ii. The valid range for the length (y-axis) of the room is between 100 and 900 pixels. • V