MCPcopy Create free account
hub / github.com/Mrinank-Bhowmick/python-beginner-projects / wishMe

Function wishMe

projects/JARVIS.PY/JARVIS2.0.py:24–33  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

22
23
24def wishMe():
25 # Function to greet the user based on the time of day
26 hour = int(datetime.datetime.now().hour)
27 if 0 <= hour < 12:
28 speak("Good Morning!")
29 elif 12 <= hour < 18:
30 speak("Good Afternoon!")
31 else:
32 speak("Good Evening!")
33 speak("jarvis here at your service sir. How may I help you?")
34
35
36def takeCommand():

Callers 1

JARVIS2.0.pyFile · 0.85

Calls 1

speakFunction · 0.70

Tested by

no test coverage detected