Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def order_price(update, context):
- price_of_order = update.message.text
- try:
- int(price_of_order)
- context.user_data['order']['scale'] = price_of_order
- update.message.reply_text(f'Сторимость уборки составляет {price_of_order * 11}')
- except (TypeError, ValueError):
- update.message.reply_text("Введите целое число")
Advertisement
Add Comment
Please, Sign In to add comment