Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Nested Loop to Generate Triangle
Post: RE: Nested Loop to Generate Triangle

(May-28-2017, 07:25 PM)buran Wrote: so what you have tried, based on my suggestion in post #2? If you expect someone to do this for you - you are mistaken. some examples n=7 x=4 # example 1 print('{...
Babbare Homework 12 11,741 May-29-2017, 12:33 AM
    Thread: Nested Loop to Generate Triangle
Post: RE: Nested Loop to Generate Triangle

Sorry guys, you're all correct. The imagine is reverse from what I need, so the code has to be just starting on the opposite side. (May-26-2017, 09:21 PM)ichabod801 Wrote: I think you want the firs...
Babbare Homework 12 11,741 May-28-2017, 06:01 PM
    Thread: Nested Loop to Generate Triangle
Post: Nested Loop to Generate Triangle

I need the triangle to be in reverse. The assignment requires a nested loop to generate a triangle with the user input of how many lines. Currently, I get answers such as: OOOO OOO OO O When I actua...
Babbare Homework 12 11,741 May-25-2017, 04:13 PM
    Thread: Remainder Operation
Post: Remainder Operation

Here's the question and below I will post my response, but I am having a difficult time using the % operation. 4. Write a program named program24.py that converts an improper fraction to a mixed numbe...
Babbare Homework 1 3,951 May-14-2017, 04:19 PM
    Thread: String to Floating Point Question
Post: RE: String to Floating Point Question

(May-14-2017, 01:32 AM)Mekire Wrote: Seriously, if you google your first sentence exactly the first hit gives the answer... But anyway, float.I assumed that, but I was was overthinking, thank you.
Babbare Homework 2 3,154 May-14-2017, 01:35 AM
    Thread: String to Floating Point Question
Post: String to Floating Point Question

What is the name of the function that converts a string to a floating point number? I have read about 40-pages of my textbook for this answer, and I have a general idea; however, I am not 100% certai...
Babbare Homework 2 3,154 May-14-2017, 01:22 AM

User Panel Messages

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