You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Sleep Tracker is a simple Python application that allows users to log their daily sleep duration and assess sleep quality. Users can input hours slept, and the application classifies the sleep as "Good" or "Bad" based on predefined criteria. It saves the data in a text file, enabling users to review their sleep history and monitor patterns over time.
Features
Log Sleep Data: Input and save daily sleep duration in hours to a text file.
Classify Sleep Quality: Classifies sleep as "Good Sleep" (7-9 hours) or "Bad Sleep" (other durations).
Display Sleep Log: Shows all logged entries with durations and quality classifications, along with average sleep duration.
Clear Sleep Data: Option to delete all logged sleep data.
User-Friendly Interface: Command-line menu for easy navigation.
Error Handling: Validates inputs and checks for the existence of the data file.
The text was updated successfully, but these errors were encountered:
Description
The Sleep Tracker is a simple Python application that allows users to log their daily sleep duration and assess sleep quality. Users can input hours slept, and the application classifies the sleep as "Good" or "Bad" based on predefined criteria. It saves the data in a text file, enabling users to review their sleep history and monitor patterns over time.
Features
The text was updated successfully, but these errors were encountered: