7 kyu

Asyncio - The Beginning

Description:

Story

As you walk the streets with your crush beside you, you are thinking about the world and how everything works... Wait!! Your crush? Shit, you are dreaming again.


Task

Now implement a coroutine dreaming which sleeps for n seconds and then returns m ** n without entirely blocking the execution of other coroutines that might be running.


Note

  • 0 < n < 7

  • 0 < m < 100

Asynchronous

More By Author:

Check out these other kata created by chr3st5an

Stats:

CreatedJul 11, 2022
PublishedJul 11, 2022
Warriors Trained485
Total Skips16
Total Code Submissions420
Total Times Completed248
Python Completions248
Total Stars3
% of votes with a positive feedback rating91% of 70
Total "Very Satisfied" Votes60
Total "Somewhat Satisfied" Votes8
Total "Not Satisfied" Votes2
Total Rank Assessments32
Average Assessed Rank
7 kyu
Highest Assessed Rank
6 kyu
Lowest Assessed Rank
8 kyu
Ad
Contributors
  • chr3st5an Avatar
  • trashy_incel Avatar
  • glovastefan Avatar
Ad