
    Mg	                     F    S SK J r   S SKJr  \ " S5       " S S5      5       rg)    )plugin)Foreecofriendlyc                   4    \ rS rSr/ SQrS rS rS rS rSr	g)	Ecofriendly   )
z/Do you regularly reduce your water consumption?zIDo you turn off lights and electronic devices when you're not using them?z6Do you buy products in bulk or with minimal packaging?z.Do you try to buy local and seasonal products?zVDo you often use sustainable transportation (walking, cycling, public transportation)?z.Do you systematically recycle household waste?z,Do you compost food scraps or organic waste?z'Have you reduced your meat consumption?z?Do you avoid plastic bottles and prefer reusable water bottles?z>Do you participate in environmental actions in your community?c                 j    U R                  U5        U R                  U5      nU R                  X5        g )N)introask_questionsdisplay_score)selfjarvissscores       A/Users/admin/workspace/ai/Jarvis/jarviscli/plugins/ecofriendly.py__call__Ecofriendly.__call__   s,    

6""6*6)    c                    UR                  S[        R                  5        UR                  S[        R                  5        UR                  S[        R                  5        UR                  S[        R                  5        g )NzWelcome to the Eco Habits Quiz!z3You'll be asked a series of simple yes/no questionsz1to assess how eco-friendly your daily habits are.z-Please answer with 'y' for yes or 'n' for no.)sayr   BLUE)r   r   s     r   r
   Ecofriendly.intro   sN    

4dii@

H$))T

F		R

BDIINr   c                    SnU R                    Ho  nUR                  U5        [        5       R                  5       R	                  5       nUS:X  a  US-  nMG  US:w  d  MO  UR                  S[
        R                  5        Mq     U$ )Nr   y   nzPlease answer with 'y' or 'n'.)	QUESTIONSr   inputlowerstripr   RED)r   r   r   questionresponses        r   r   Ecofriendly.ask_questions   sh    HJJx w}},,.H3
S

;TXXF ' r   c                    US::  aA  UR                  S[        R                  5        UR                  S[        R                  5        g US::  aA  UR                  S[        R                  5        UR                  S[        R                  5        g UR                  S[        R
                  5        UR                  S[        R                  5        g )	N   z
Profile: BeginnerzWTips: Start with small actions like turning off lights and avoiding single-use plastic.   z
Profile: Moderate Eco-FriendlyzVTips: Explore new ways to reduce your carbon footprint, such as composting your waste.z
Profile: Eco-Engagedz[Tips: Share your experience with others to inspire those around you to follow your example.)r   r   r!   GREENCYANYELLOW)r   r   r   s      r   r   Ecofriendly.display_score*   s    A:JJ,dhh7JJprvr|r|}aZJJ9499EJJoquq{q{|JJ/=JJtvz  wA  wA  Br    N)
__name__
__module____qualname____firstlineno__r   r   r
   r   r   __static_attributes__r,   r   r   r   r      s    I*
O		Br   r   N)r   coloramar   r   r,   r   r   <module>r3      s,      -B -B -Br   