PYTHONJUNIORJOB Telegram 788
Задача для новичков.

“Python напился, и встроенные функции str() и int() ведут себя странно. Вам нужно создать две функции, которые заменят str() и int(). Функцию int_to_str(), которая преобразует целые числа в строки, и функцию str_to_int(), которая преобразует строки в целые числа”.

Пример:
int_to_str(4) ➞ "4"

str_to_int("4") ➞ 4

int_to_str(29348) ➞ "29348"

Пишите ваши варианты решения в комментах. Варианты решений будут скоро(сегодня-завтра)

#новичок #coбес
👍1



tgoop.com/pythonjuniorjob/788
Create:
Last Update:

Задача для новичков.

“Python напился, и встроенные функции str() и int() ведут себя странно. Вам нужно создать две функции, которые заменят str() и int(). Функцию int_to_str(), которая преобразует целые числа в строки, и функцию str_to_int(), которая преобразует строки в целые числа”.

Пример:

int_to_str(4) ➞ "4"

str_to_int("4") ➞ 4

int_to_str(29348) ➞ "29348"

Пишите ваши варианты решения в комментах. Варианты решений будут скоро(сегодня-завтра)

#новичок #coбес

BY Python вопросы на собеседовании с ответами


Share with your friend now:
tgoop.com/pythonjuniorjob/788

View MORE
Open in Telegram


Telegram News

Date: |

The initiatives announced by Perekopsky include monitoring the content in groups. According to the executive, posts identified as lacking context or as containing false information will be flagged as a potential source of disinformation. The content is then forwarded to Telegram's fact-checking channels for analysis and subsequent publication of verified information. A vandalised bank during the 2019 protest. File photo: May James/HKFP. With Bitcoin down 30% in the past week, some crypto traders have taken to Telegram to “voice” their feelings. It’s yet another bloodbath on Satoshi Street. As of press time, Bitcoin (BTC) and the broader cryptocurrency market have corrected another 10 percent amid a massive sell-off. Ethereum (EHT) is down a staggering 15 percent moving close to $1,000, down more than 42 percent on the weekly chart. A Hong Kong protester with a petrol bomb. File photo: Dylan Hollingsworth/HKFP.
from us


Telegram Python вопросы на собеседовании с ответами
FROM American