Torham DEV
Hi I'm Torham 👋🦖 Interested in learning Linux, Python and everything else related to computers 🍾 currently, i'm a backend engineer 🦕🤝 E-mail : [email protected]
Більше- Підписники
- Перегляди допису
- ER - коефіцієнт залучення
Триває завантаження даних...
Триває завантаження даних...
Access to the open internet is essential to defending human rights, and developers have an important role in promoting freedom of expression and transparency. GitHub is committed to keeping Iranians connected to the global developer community.
# The "timeit" module lets you measure the execution
# time of small bits of Python code
>>> import timeit
>>> timeit.timeit('"-".join(str(n) for n in range(100))',
number=10000)
0.3412662749997253
>>> timeit.timeit('"-".join([str(n) for n in range(100)])',
number=10000)
0.2996307989997149
>>> timeit.timeit('"-".join(map(str, range(100)))',
number=10000)
0.24581470699922647
@TorhamDevCHThe Python JSONDecodeError: Expecting property name enclosed in double quotes: line 1 column 2 (char 1) occurs when we try to parse an invalid JSON string (e.g. single-quoted keys or values, or a trailing comma). Use the `ast.literal_eval()` method to solve the error.
На вашому тарифі доступна аналітика тільки для 5 каналів. Щоб отримати більше — оберіть інший тариф.