olliesilvester / htss-rig-bluesky-work-experience

Config and scripts for using hte HTSS rigs
Apache License 2.0
0 stars 0 forks source link

Asyncio part 2 #3

Open olliesilvester opened 2 months ago

olliesilvester commented 2 months ago

Write an asynchronous function fetch_data that simulates fetching data by sleeping for 2 seconds and then returns "data". Write another function process_data that awaits fetch_data, processes the data by converting it to uppercase, and then prints the result.