Python program, Python Programming

Write a program that asks the user to enter a number of seconds. The responses of the program will vary depending on the length of seconds:
• If the number of seconds is under 60 the answer will only be given in seconds
• If the number of seconds is over 59 the answer will be given in minutes and seconds
• If the number of seconds is over 3,599 the answer will be given in hours, minutes and seconds
• If the number of seconds is over 86399 the answer will be given in days, hours, minutes and seconds.
Posted Date: 10/14/2012 3:52:45 PM | Location : United States







Related Discussions:- Python program, Assignment Help, Ask Question on Python program, Get Answer, Expert's Help, Python program Discussions

Write discussion on Python program
Your posts are moderated
Related Questions
from urllib2 import urlopen var= ('' response">http://placekitten.com'') response = kittens.read(body) body = response[559:1000] print ''Kittens:'', response

Task This problem creates a list containing names. The list of names will be printed, sorted, printed again in the new sorted order, written to a new output file, and searched. Ca

Displaying random geometric graphs in an uniform square, unit disk, dense rim unit disk, and uniform sphere

Interacting with the environment Computer systems have  to communicate with  the world around them,  getting information about  the external world, and  taking  actions  to cha

protocol rdt2.2 considers there is a bit errors between sender to receiver and also from receiver to sender. So now we have to consider checking bit errors introduced in reply from

Range Very frequently, we will want to iterate through a list of integer values, often as indices.  Python gives a useful function, range, which gives lists of integers. It ma

Basics of python-introduction Python is designed for easy interaction between a user and the system. It goes with  an inter­ active function  known as  a shell or listener.  T

This assignment involves writing a program to solve word search puzzles. For example in the following word grid it is possible to find the words active, stock, ethernet and java. N

Your task is to construct a translator from the subset of Python in Project 3 intocontinuation-passing style (CPS). Of course, the expected way of accomplishing this is to trans

#que Write a program that will take price data for stocks and print it graphically to the screen. Your program should begin by asking the user for the file name. It should then cre