Вернуться к 用 Python 做商管程式設計（一）(Programming for Business Computing in Python (1))

4.9
звезд
Оценки: 672
Рецензии: 157

## Лучшие рецензии

TT

2 окт. 2020 г.

This course makes learner understand how Python language applying to business environment. And, the course is good for beginner who is 0 knowledge about Pyhton.

YH

22 июня 2018 г.

Фильтр по:

## 1–25 из 160 отзывов о курсе 用 Python 做商管程式設計（一）(Programming for Business Computing in Python (1))

автор: Peter C

7 июля 2018 г.

The course is useful. I enjoyed solving the practice quizzes, though it took a long time trying and debugging.

автор: Yockey C

3 мар. 2019 г.

автор: 政霖 賴

23 сент. 2018 г.

автор: Albert L

11 нояб. 2018 г.

автор: 王光維

5 авг. 2018 г.

import math

n = int(input())

p = int(input())

d = int(input())

#print(n, p, d)

TownInfor = []

for i in range(n):

TownInfor.append(input().split())

for j in range(3):

TownInfor[i][j] = int(TownInfor[i][j])

#print(TownInfor)

TownDst = []

for i in range(n):

TownDst.append([])

for j in range(n):

DstSquare = (TownInfor[i][0] - TownInfor[j][0]) ** 2 + (TownInfor[i][1] - TownInfor[j][1]) ** 2

TownDst[i].append(float("%.2f" % math.sqrt(DstSquare)))

#for EveryRowInTownDst in TownDst:

#print(EveryRowInTownDst)

NumBase = 0

TotalPopInThisArea = 0

TownPriority = []

TotalCoverPop = 0

for i in range(n):

TotalPopInThisArea += TownInfor[i][2]

while NumBase < p or TotalPopInThisArea < TotalCoverPop:

BestTown = 0

MaxSumOfPop = 0

for i in range(n):

SumOfPop = 0

for j in range(n):

if float(TownDst[i][j]) <= float(d):

SumOfPop += TownInfor[j][2]

if MaxSumOfPop < SumOfPop:

BestTown = i

MaxSumOfPop = SumOfPop

#print(BestTown, MaxSumOfPop)

TownPriority.append(BestTown + 1)

TotalCoverPop += MaxSumOfPop

for i in range(BestTown, BestTown + 1):

for j in range(n):

if float(TownDst[i][j]) <= float(d):

TownInfor[j][2] = 0

#print(TownInfor)

NumBase += 1

print(TownPriority, TotalCoverPop)

автор: TEE S T

3 окт. 2020 г.

This course makes learner understand how Python language applying to business environment. And, the course is good for beginner who is 0 knowledge about Pyhton.

автор: Ya F H

22 июня 2018 г.

автор: Ethen W

14 дек. 2019 г.

A fantastic resource for python beginner learner. I will recommend to all entries level people who wanna learn python.

автор: 宗聖 諸

7 мая 2018 г.

It is very helpful for the people who is the first time used python!! Very nice and detailed explained.

автор: 東翰 楊

2 сент. 2020 г.

автор: Peter K

21 мая 2020 г.

автор: おう ふ

11 нояб. 2021 г.

автор: chin h l

2 авг. 2021 г.

It is good course to study and learn python programs. Maybe it is a little difficulty for me to finish the homework in 30minutes, but I really like to introduce this course to the first learning program person. This course would help you to deeply understand the python and encourage you to try different ways to solve problems. Finally, I should appreciate Dr. Kung for teaching detail and complete course.

автор: Kate K

13 июня 2021 г.

The course literally fits for everyone, really a good start for people not in computing majors. I didn't really have any programming experience before this (my short C++ course in college 20 yrs ago doesn't count as I didn't really have a chance to write a code). So, it was a real struggle to get through the exams. I am glad that I finally did it.

автор: 蕭郁恬

27 окт. 2019 г.

The lecture is clear and comprehesive.

The only thing, which is a little annoying is that the lecture is mixed with Chinese and English words.

It's really uncomfortable to hear someone talking like this.

автор: 莊淑君

7 янв. 2022 г.

this course is very comprehensive and easy to learn. and the quiz is challenging for me but it also made me more familiar with utilizing python language. I recommend this course to others!!

автор: 楊鎮維

1 июля 2021 г.

автор: 連恩

25 февр. 2021 г.

автор: 張天恩

20 февр. 2020 г.

автор: 莊敬攸

26 февр. 2022 г.

Really appreciate for the course, it is very helpful and kind for the people who want to start their programming.

автор: Chia-Ning L

3 июня 2021 г.

homework takes lots of time. Do not trust coursera average time "30 min"! But learned a lot :) Enjoy the course!

автор: M.N. H

28 июля 2021 г.

T​he homework and test are a bit challenging but definetly can learn a lot. Great course for program beginers.