Skip to main content

how is the day python code


 day = input('Q. how is the day hot or cool? ')


print('  ')

      

if (day == "hot"):

    print("drink lot's of water ")

    print('  ')

    print('enjoy your day')

    

    

elif (day == "cool"):

    print("don't go out stay in razi ")

    print('  ')

    print('enjoy your day')




else:

    print("\033[1;31;m invalid input  \n")

    print('  ')

    

print('  ')

    


   


Comments

Popular posts from this blog

weight converter KG - LBS

  weight = int(input('weight: ')) unit = input ("(L)bs or (K)g: ") if unit.upper() == "L":     converted = weight * 0.45     print(f"you are {converted} killos") else:     converted = weight / 0.45     print(f"you are {converted} pounds")

JupyterLab / Jupyter notebook important settings to make work flow easy

when you first start using Jupyter notebook you feel it difficult in comparison to VS code. but believe me it's not that hard. Today i'm going to show you that how can you make your coding experience batter on jupyter without any extension  1) go to settings and click auto close brackets it will automatically close (), '',""