Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: List of Strings Problem
Post: List of Strings Problem

The input is a list of strings, I need to add code below it (and fix indentation and variable names if needed) so that the code will print a story for each string in the list. Any suggestions? # creat...
jge047 Homework 3 3,628 Dec-18-2017, 07:25 PM
    Thread: Make a Function from Name String
Post: RE: Make a Function from Name String

Thanks for the response SRG. I think I am still missing something as I cannot get the code to execute and produce a name or "unkown". I tried adding a print statement after line 8, but no luck. def...
jge047 General Coding Help 4 3,329 Dec-18-2017, 03:46 AM
    Thread: Make a Function from Name String
Post: Make a Function from Name String

I would like to turn the below into a function. Needs to find the name and pass it. When function is called it print name or unknown. Any suggestions appreciated. namePart = "name: Anu Gao" posName ...
jge047 General Coding Help 4 3,329 Dec-16-2017, 02:19 AM
    Thread: Question about moving a turtle
Post: Question about moving a turtle

Question about moving a turtle - multiplying index by 10 on line 15 moves the next line over 10 pixels on the x-axis, but if the first value of index in range(5) is zero, then how does 10 * 0 (which j...
jge047 General Coding Help 0 2,147 Dec-13-2017, 02:55 AM
    Thread: Procedure Not Executing
Post: Procedure Not Executing

Question - "Write code that draws a pattern with the turtle with at least 3 different colors used. The code must have a for loop and must have a if statement inside the for loop that changes the color...
jge047 General Coding Help 1 2,720 Dec-01-2017, 04:51 AM
    Thread: input issue elif
Post: input issue elif

Code I am writing: Write code that iterates through number 1 - 20 and prints “Fizz” if it’s a multiple of 3, “Buzz” if it’s a multiple of 5, “FizzBuzz” if it’s a multiple of 3 and 5, and the number if...
jge047 General Coding Help 2 3,198 Nov-23-2017, 04:52 AM

User Panel Messages

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