This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const tipichapa = ["チピチピ", "チャパチャパ", "ドゥビ ドゥビ", "ダバ ダバ"] | |
const dubi = "マヒコミ ドゥビ ドゥビ\nブン ブン ブン ブン" | |
while (true) { | |
const word = Array.from({length: 4}, () => tipichapa[Math.floor(Math.random() * tipichapa.length)]).join("") | |
console.log(word) | |
if (word == tipichapa.join("")) { | |
break | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import asyncio | |
loop = asyncio.get_event_loop() | |
async def hello(): | |
await asyncio.sleep(3) | |
print('Hello!') | |
if __name__ == '__main__': | |
loop.run_until_complete(hello()) | |