••••i am trying to build a clock using python where the clock is about 1/2 an earth second, it would have 11 seconds in a minute, it would have 5 minutes in an hour, and it would have 3 hours in a day. it would also have 3 months per year, each month would be 5, 3 and 4 days respectively. And its current year now is 9977. it would have 2 modes, a fast mode and a regular mode.
I need to know how to start this, how to defined the variables and functions.
Can anyone please help.
Kanem 0 Newbie Poster
Recommended Answers
Jump to Post— tbone2sk 14You can use the time library using import time.
You are going to want to use something along the lines of time.sleep(Seconds)
http://docs.python.org/library/time.htmlI don't really understand what you are talking about with …
Jump to Post— Dan08 8Think first. Think about what you said. And put into the code. Simple... Ok, I'm actually going to give you a hand. So you want, 11 seconds in a minute, 5 minutes in an hour, 3 hours in a day and 3 months per year, and I don't know what …
All 7 Replies
tbone2sk 14 Junior Poster in Training
Dan08 8 Junior Poster
hondros 25 Junior Poster
Member 784847 0 Newbie Poster
Member 784847 0 Newbie Poster
Member 784847 0 Newbie Poster
TrustyTony 888 ex-Moderator Team Colleague Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.