Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Modify code
Post: RE: Modify code

(Mar-31-2018, 09:05 PM)Larz60+ Wrote: what's your guess? Do you know how to use for loops? im learning. new to this and just trying to teach myself
BlackPimpernel General Coding Help 3 3,355 Apr-02-2018, 01:51 PM
    Thread: Modify code
Post: Modify code

how do i modify the following program so that it computes and prints a table of celsius temperatures and the fahrenheit equivalent every 10 degrees from 0C to 100C Converter.py # A program to conv...
BlackPimpernel General Coding Help 3 3,355 Mar-31-2018, 03:32 PM
    Thread: how do i rewrite this code to give me 10 outputs
Post: RE: how do i rewrite this code to give me 10 outpu...

(Mar-29-2018, 04:24 AM)Larz60+ Wrote: your print statement is outside the loop. Add 4 spaces before the print, thus making it part of the loop and you will see 10 outputs That works. Thank you
BlackPimpernel General Coding Help 2 2,668 Mar-29-2018, 11:29 AM
    Thread: how do i rewrite this code to give me 10 outputs
Post: how do i rewrite this code to give me 10 outputs

# File: Futurevalue.py # A simple program illustrating the future value of a savings account in 10 years def main(): p = eval(input ("Enter the initial principal amount in the savings account: "))...
BlackPimpernel General Coding Help 2 2,668 Mar-29-2018, 02:26 AM

User Panel Messages

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