Archives
Trending
Support
Login
clear text
XML
Django
JavaScript
MATLAB
C
C++
C#
Python
SQL
Shell
Bash
Markdown
YAML
JSON
HTML
CSS
PHP
Java
Ruby
Go
Rust
Swift
Kotlin
Arduino
TypeScript
Perl
Autohotkey
Lua
SQF
R
Scala
Haskell
Groovy
Dart
Clojure
VB.NET
Objective-C
PowerShell
Bash
CoffeeScript
Verilog
budget = float(input()) numstatist = int(input()) price_clothing = float(input()) discount = 0 dekor = budget * 10 / 100 price_statist = numstatist * price_clothing #total_sum = dekor + price_statist if numstatist > 150: price_statist = price_statist * 0.90 total_sum = price_statist + dekor diff = abs(budget - total_sum) if budget < total_sum: #diff = abs(budget - total_sum) print("Not enough money!") print(f"Wingard needs {diff:.2f} leva more.") else: #result = abs(budget - total_sum) print("Action!") print(f"Wingard starts filming with {diff:.2f} leva left.") #Не е решена
Mark as private (unlisted)
for 30 minutes
for 6 hours
for 1 day
for 1 week
for 1 month
for 1 year
everlasting (like CCCP)