일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | |
7 | 8 | 9 | 10 | 11 | 12 | 13 |
14 | 15 | 16 | 17 | 18 | 19 | 20 |
21 | 22 | 23 | 24 | 25 | 26 | 27 |
28 | 29 | 30 | 31 |
Tags
- rails7
- DART
- rails
- 디지몬
- 반다이몰
- java
- 건담베이스
- springboot
- vscode
- javascript
- nico
- 자바
- ruby
- 연습문제
- メソッド
- 日本語
- Python
- Flutter
- 건담
- 비즈니스일본어
- 単語
- Spring
- jsp
- 一日一つメソッド
- 인프런
- Web
- CSS
- C로 시작하는 컴퓨터 프로그래밍4판
- 일본어
- html
Archives
- Today
- Total
목록프로그래밍 (1)
AR삽질러
C075:ポイント払い
使用言語 : Python 사용언어 : Python budget, rides = input().split(' ') budget = int(budget) rides = int(rides) price_list = list() for i in range(rides): price = int(input()) price_list.append(price) point = 0 for price in price_list: if point >= price: point -= price else: budget -= price point += price * 0.1 print(budget, int(point)) 설명 : 사용자로부터 예산과 탑승횟수를 입력받아 각 탑승 횟수에 대한 예산과 포인트를 계산하는 문제 説明:ユーザーから予算と..
日本語/paiza
2023. 7. 15. 18:37