How to make a simple User Interface (UI) in python

preview_player
Показать описание
I hope you guys liked this videos, if you can drop a like and subscribe. Also leave a coment if you want.
-----------------------------------------------------------------------------------------------------------------------------------------------------------------
Join our discord server and chat with us! --- in the coments
-----------------------------------------------------------------------------------------------------------------------------------------------------------------
Source code: def main2():
print("Try to do some outdoor activities with your friends and family!")
input()
def main3():
print("You should really try to do something else like going to the park with your friends!")
input()

choice = input("""How many hours do you play each day?
(1) 1 hour
(2) 2 - 3 hours
(3) more than 3 hours""")

if choice == "1":
print("You play a healthy amount of time!")
input()
elif choice == "2":
print("You should consider do more outdoor activities!")
choice1 = input("""Do you want to know what should you do to stop your gaming adiction?
(1) yes
(2) no""")
if choice1 == "1":
main2()
elif choice == "2":
exit()
elif choice == "3":
print("You play to much time on your computer!")

choice1 = input("""Do you want to know what should you do to stop your gaming adiction?
(1) yes
(2) no""")
if choice1 == "1":
main3()
elif choice == "2":
exit()
-----------------------------------------------------------------------------------------------------------------------------------------------------------------
#python #pycharm #pythonprogramming #pythontutorial #fast #fun #py #userinterface #userinput #coding #ifstatement
Рекомендации по теме
Комментарии
Автор

omg finally some fast video that helped a lot... THANK YOU SO MUCH!!!

impscrr