Milk
This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@@ -127,3 +127,6 @@ dmypy.json
|
||||
|
||||
# Pyre type checker
|
||||
.pyre/
|
||||
|
||||
# Visual Studio Code
|
||||
.vscode
|
||||
11
README.md
11
README.md
@@ -1 +1,10 @@
|
||||
# Milk
|
||||
# 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
19
main.py
Normal 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()
|
||||
Reference in New Issue
Block a user