So there's lots of different ways you could have solved
this. You need to use the print command to print out
the result. And then we want an expression that calculates the
number of minutes in seven weeks. There's seven weeks, each week
has seven days, so we can have seven times seven for
the number of days. Then to get the number of minutes,
we need to multiply that by 24 to get the number
of hours And then multiply again, by 60. That should give
us the number of minutes. So let's see that in the Python interpreter. And now
we hit Run, and we see that we have 70,560 minutes. Seems
like a lot of time. It's going to go pretty quick, and we hope by
the end of the seven weeks, all of you will be accomplished Python programmers.
Así que hay un montón de diferentes maneras en que podrías resolver
esto. Es necesario utilizar el comando de print para imprimir
el resultado. Y luego queremos una expresión que calcula el
número de minutos en siete semanas. Hay siete semanas cada semana
tiene siete días, para que podamos tener siete veces siete para
el número de días. Luego de obtener el número de minutos,
tenemos que multiplicar por 24 para obtener el número
de horas y luego se multiplican de nuevo, por 60. Eso debería dar
nosotros el número de minutos. Así que vamos a ver que en el intérprete de Python. y ahora
golpeamos Run, y vemos que tenemos 70.560 minutos. parece
como un montón de tiempo. Se va a ir muy rápido, y esperamos por
Al final de las siete semanas, todos ustedes se logrará programadores de Python.
これを解くことのできる方法はたくさんあります
結果を出力するためにprintコマンドを使用します
まず7週間の秒数を計算する式が必要です
1週間は7日あり7週間の計算なので
日数は7かける7になります
次に秒数を求めます
時間数を求めるためにそれに24をかけます
そして60をかければそれが秒数になるはずです
Pythonインタプリタで確認してみましょう
実行します 70,560秒と確認できます
長い時間のように感じます
大急ぎで進めて7週間後の終わりまでに
皆さんがPythonプログラマになれることを願っています
Bu soruyu çok değişik şekillerde
çözebilirdiniz. Sonucu ekrana yazdırmak
için print
komutunu kullanmanız gerekiyordu. Yedi
haftadaki dakikalar
sorulduğu için yapmanız gereken şuydu: Her
haftada 7 gün olduğundan ilk olarak 7 ile
7'yi çarpıyoruz. Daha sonra her günde 24
saat olduğundan bu rakamı 24
ile çarpıyoruz. Son olarak da her
bir saatteki 60 dakikayı bu çarpıma
ekliyoruz. Bu bize
istediğimiz sonucu verecek. Şimdi bunu
Python'da görelim. "Çalıştır"'a (RUN)
tıkladığımızda
sonuç olarak 70,560 dakika sonucunu
görüyoruz. Baya uzun bir zaman değil mi?
Hemencecik geçer, merak etmeyin. Umarım
önümüzdeki bu 7 hafta
sonunda hepiniz usta birer Python
programcısı olacaksınız.
解决这个问题的方法很多
你必须使用 print 命令输出结果
然后我们需要一个计算七周所包含分钟数的表达式
一共七周 每周七天
所以我们可以用 7 乘以 7 来计算天数
然后计算分钟数
我们需要把刚才的得到的结果乘以 24 以计算小时数
然后再乘以 60 这将得到分钟数
那么我们在 Python 解释器中看一下运行情况吧
现在我们点击运行 (Run) 可以看到结果是 70560 分钟
看上去时间还蛮多的 不过时间会过得很快
希望七周后 你们都能成为熟练的 Python 程序员