Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- num = int(input())
- def solve():
- return '100% Complete!\n[%%%%%%%%%%]' if num == 100 \
- else f"{num}% [{int(num / 10) * '%'}{(10 - int(num / 10)) * '.'}]\nStill loading..."
- print(solve())
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement