Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Formatted table with headings
Post: Formatted table with headings

Hello, I'm trying to have a program print the results from a formula into a formatted table, but I can't figure out how to get it to attach heading labels to the rows so it's clear what value is which...
KameronG Homework 1 1,796 Feb-08-2019, 09:27 PM
    Thread: Need to use range with decimals
Post: RE: Need to use range with decimals

Here is the entire program: import math h = float(input("What is the value of H0 (in km/s/Mpc)?")) j = float(input("what is the value of the matter density parameter?")) cs = input("Do you want a fla...
KameronG Homework 7 3,308 Feb-08-2019, 07:49 PM
    Thread: Need to use range with decimals
Post: RE: Need to use range with decimals

Ok,so now I have this: if ran == "range": i = float(input("What is the minimum z value?")) k = float(input("What is the maximum z value?")) u = float(input("By what increment?")) data...
KameronG Homework 7 3,308 Feb-08-2019, 07:31 PM
    Thread: Need to use range with decimals
Post: Need to use range with decimals

Hello, I need to write a program that asks for values from a user and then use the values in a formula. One thing I need to do is ask the user if they want a range, list, or single value for one of ...
KameronG Homework 7 3,308 Feb-08-2019, 03:15 PM
    Thread: if/else statement only outputs else statement regardless of input
Post: RE: if/else statement only outputs else statement ...

I did end up fixing this simply by putting the 1 in quotes (if CS == "1":) and that worked. Thanks all!
KameronG Homework 2 2,615 Feb-08-2019, 08:04 AM
    Thread: if/else statement only outputs else statement regardless of input
Post: if/else statement only outputs else statement rega...

Hello, I'm new here so I apologize if I mess up the protocol to some extent. I am trying to write a program that takes 4 user inputs and plugs them into a formula. The last prompt to insert input asks...
KameronG Homework 2 2,615 Feb-08-2019, 06:18 AM

User Panel Messages

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