This commit is contained in:
2023-02-14 23:46:02 +03:00
parent 4828e589c2
commit 5fe2836924
3 changed files with 32 additions and 1 deletions

3
.gitignore vendored
View File

@@ -127,3 +127,6 @@ dmypy.json
# Pyre type checker
.pyre/
# Visual Studio Code
.vscode

View File

@@ -1 +1,10 @@
# Milk
Just run the `main.py` and be cool!
#### Run on Windows and Linux:
```
git clone https://github.com/IMrProYTI/Milk/
cd ./Milk
python main.py
```

19
main.py Normal file
View File

@@ -0,0 +1,19 @@
from time import sleep
def main():
i = 0
print("Milk", end='')
while True:
if i % 10 == 0:
print(" inside a bag of\n\nMilk", end='')
elif i % 2 == 0:
print(" inside a bag of\nMilk", end='')
else:
print(" outside a bag of\nMilk", end='')
sleep(1)
i += 1
if __name__ == '__main__':
main()