Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
  Question Thread: random in python
Post: random in python

I seem to have a problem. When I use random.choice it will print out the list instead. here is the code and the output first the code print('Welcome to the fart monster game') print('---------------...
ilikedofs General Coding Help 3 2,506 Jun-02-2021, 12:09 AM
    Thread: I need help with Connect-Four Game Board
Post: RE: I need help with Connect-Four Game Board

i ran it through my interpreter. i don't know if it just it have. here it is Error:File "main.py", line 54 def drawField(field): ^ SyntaxError: invalid syntaxi don't know why. but if this is ...
ilikedofs Homework 2 2,531 May-26-2021, 12:08 AM
    Thread: loop adventure game
Post: loop adventure game

i am trying to get the loop to do if user press l go back to previous line I've looked on the internet and can't find anything that did not pertain to math or advanced projects if choice=='s': prin...
ilikedofs General Coding Help 1 1,671 May-25-2021, 11:52 PM
  Exclamation Thread: tic tac toe loop
Post: tic tac toe loop

I've been having troubles with getting a loop for tic tac toe here is the code board = [1, 2, 3, 4, 5, 6, 7, 8, 9] print("Welcome to Tic-Tac-Toe!") print(" " + str(board[0]) + " | " + str(board[1]) +...
ilikedofs Homework 2 2,284 May-23-2021, 05:00 PM
    Thread: getting a syntax error and i don't know why
Post: RE: getting a syntax error and i don't know why

o.k i am looking at my code and i got and idea. what if the user is allergic to one the foods in the list. what i want to do is the food to disappear from the list after the input is typed. so how wou...
ilikedofs General Coding Help 10 4,760 May-13-2021, 08:43 PM
    Thread: getting a syntax error and i don't know why
Post: RE: getting a syntax error and i don't know why

"""Ask quesiton. If input is 'y', add score to each food item in good_foods"""what does that do? i am guessing that it gives the computer more clarification
ilikedofs General Coding Help 10 4,760 May-13-2021, 07:28 PM
    Thread: Problems with inserting images into an Excel File
Post: RE: Problems with inserting images into an Excel F...

What excel year are you running? and what do you think the problem is from your viewpoint?
ilikedofs General Coding Help 2 3,362 May-11-2021, 11:44 PM
    Thread: getting a syntax error and i don't know why
Post: RE: getting a syntax error and i don't know why

thank you @deanhystad you've answered another problem which is getting the program to print out the variable scores
ilikedofs General Coding Help 10 4,760 May-11-2021, 10:52 PM
  Exclamation Thread: getting a syntax error and i don't know why
Post: getting a syntax error and i don't know why

I've looked at the whole code and can't see what's wrong. please help me it's giving me a head ache! food = ['donuts', 'pancakes', 'bacon', 'waffles', 'eggs', 'bagels'] score = [0,0,0,0,0,0] print('P...
ilikedofs General Coding Help 10 4,760 May-11-2021, 09:08 PM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020