Python programming keyboard ASMR 🥲

preview_player
Показать описание
This is a very simple and short script in Python programming.

A is the variable that defines the person's response to the input from the script.

The if statements check to see if A (the person's response) is equal to something, in this case, 1 or 2.

After the if statements are the outputs, which print a response to the person's input.

Finally, if the person does not input 1 or 2, the run-screen will remain blank.

Overall, this is to explain this simple script.
Thank you for your time, and I hope you enjoy! 👌
Рекомендации по теме
Комментарии
Автор

If you have any questions, please let me know! 👍

LastHope
Автор

you dont need to put () arround the numbers in the if satement

ab.
Автор

Instead of using double if statements, you should use elif, learn thae basics for better code!😊

hariskakakhel
join shbcf.ru