Please guy I need help here | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
0

Please guy I need help here

import concurrent.futures import time def time(): print('wake up') time.sleep(1) return 'woke up' a = concurrent.futures.ProcessPoolExecutor() f = a.submit(time) print(f.result())

6th Aug 2022, 12:52 AM
Bean Hong
1 Réponse
+ 1
Your function name conflicts with inbuilt package name time.. Use any other name for your function...
6th Aug 2022, 7:36 AM
Jayakrishna 🇮🇳