before we're done with for loops, let's check out some common mistakes you may come across while trying this yourself. 在我們完成 for 迴圈之前,讓我們來看看當你自己測試時可能會遇到的一些常見錯誤
iterate ; iteration ; iterable
a certain type isn't iterable 某種類型不是可迭代的
stop the iteration process early 提前停止迭代過程
A for loop iteratesover each element. for 迴圈迭代每個元素
you are able to examine each individual element in the string and manipulate it how you’d like 您可以檢查字串中的每個單獨(個別)元素,並依您的喜好進行操控
Python does not consider "567.89" a number Python 不會將「567.89」視為一個數字
You can’t mix single and double quotes in the same string or you’ll get a syntax error 您不能在同一個字串中混用單引號和雙引號,否則會產生語法錯誤
Can you work out what this function does 您能找出這個函式的作用嗎
A while loop will continuously execute code depending on the value of a condition. while 迴圈會依據條件的值連續執行程式碼
learn how to leave the loops up to the computer 學習如何將迴圈交由電腦處理
organize;structure
how to organize our code and functions
how to structure our code and functions
Is it even practical to avoid systemd any more 不再使用 systemd 是否實際可行
Unfortunately, some of these services don’t have analternative any more 不幸的是,有些服務已沒有(不再有)其他選擇了
Many of the complaints people make about it 人們對它的許多抱怨
Much like how decisions affect different outcomes in our everyday lives 就像決策如何影響我們日常生活中的不同結果一樣
her prospect will want a follow up meeting to further discuss her company’s proposal 她的潛在客戶會想要一個追蹤會議,進一步討論她公司的提案
If Maria closes a deal with a major potential client, her boss will reward her with a raise to acknowledge her hard work 如果 Maria 與潛在的大客戶達成交易,她的老闆就會加薪獎勵她,以肯定她的努力工作
at least;at most
Invalid username. Must be at least 3 characters long
Invalid username. Must be at most 15 characters long
remember that this technique can only be used when you're returning a value inside the if statement 請記住,這技巧只能使用在 if 語句中返回值時
Companies can set different criteria for what a valid username looks like. 公司可以為有效的使用者名稱設定不同的標準
the result is a Boolean of the appropriate value 結果是一個適當值的布林值
Refactoring code - a process to restructure code without changing functionality 重構程式碼 - 在不改變功能的情況下重構程式碼的過程
This principle can be applied to all aspects of writing code from picking your variable names to writing clear concise expressions. 這個原則可以應用在撰寫程式碼的所有方面,從選取變數名稱到撰寫清晰簡潔的表達式
argument; parameter; variable
The type() function returns the data type of its argument type() 函式會返回其參數的資料類型
we can pass values into a function as parameters by passing values like the name or department in the example earlier 我們可以將值作為參數傳入函數,傳入的值就像前面例子中的名稱或部門一樣
Let's make it do a little more 讓我們讓它做多一點
All those functions come as a part of the language, and we'll look into a bunch of other built-in Python functions throughout this course 所有這些函數都是 Python 語言的一部分,我們也會在本課程中研究其他一些內建的 Python 函數
It’s like giving yourself and other developers hints about what kind of data the variable is supposed to hold. 這就像給自己和其他開發人員提示,變數應該持有什麼樣的資料
As you get more familiar with Python, you’ll be able to communicate more efficientlywith computers and do more with your data analysis tools 隨著您對 Python 越來越熟悉,您將能夠更有效率地與電腦溝通,並使用資料分析工具完成更多工作
you’ll surely make progress as a Python learner 作為 Python 學習者,您一定會有所進步
there are a few guiding principles and resources that can help you along the way. 有一些指導原則和資源可以幫助您走這條路
Conditional statements: Sections of code that direct program execution based on specified conditions 條件語句: 根據指定條件指示程式執行的程式碼區段
getting familiar with its fundamental syntax and semantics will be useful for your future career 熟悉其基本語法和語義對您未來的職業生涯非常有用
The same is true for programming 程式設計也是如此
We went through a lot of new concepts and it might take several passes until you feel comfortable with them 我們經歷了許多新的概念,您可能需要花費好幾次的時間,直到您覺得熟悉為止
Code editors and IDEs are essential for writing efficient Python code. 程式碼編輯器和 IDE 對於撰寫有效率的 Python 程式碼是不可或缺的
It is a popular IDE that many developers use and love
It is great for beginners because it is easy to use and has a large community of users which means there are tons (lots) of tutorials and resources available online 它非常適合初學者,因為它容易使用,而且有一個大型的使用者社群,這表示線上有大量的教學和資源可供使用
Overall, PyCharm is a great choice when it comes to an IDE. 總體而言,就 IDE 而言PyCharm 是最佳的選擇
An IDE is a software application that provides comprehensive facilities for software development IDE 是一種軟體應用程式,可為軟體開發提供全面的便利
Now it’s your turn to try! Give this a go yourself. 現在輪到(換)你嘗試了!自己試試吧
We won't get into these in this course but if you want to learn more about them on your own 我們不會在本課程中涉及這些,不過如果您想自行(靠自己)瞭解更多資訊
Python actually has a lot more advanced numeric capabilities that are used for data analysis, statistics, machine learning, and other scientific applications Python 實際上有許多更進階的數值功能,可用於資料分析、統計、機器學習和其他科學應用程式
You might need to count how many times a certain word appears in a text, or work out the average time it takes for an operation to complete 您可能需要計算某個詞在文本中出現的次數,或計算出一個操作完成所需的平均時間
you could have the program ask you for data interactively 可以讓程式以互動方式詢問您資料
There are platform-specific scripting languages like PowerShell which is used on Window 有特定平台的腳本語言,例如在 Window 上使用的 PowerShell
There are also general-purpose scripting languages similar to Python 也有類似 Python 的通用腳本語言
There's almost always someone on the Internet who's trying to do what you're doing and can help point you in the right direction when you're stuck. 網路上幾乎總會有人在嘗試做您正在做的事情,當您遇到困難時(卡住時),他們可以幫助您指出正確的方向
Not only that, but it's also used in fast-growing areas of IT 不僅如此,它也用於快速成長的 IT 領域
The most important thing to remember is that you're never alone. 最重要的是要記住,您永遠不會孤單
It's really important to keep in mind that even experienced programmers may need to ask a colleague a question from time to time or look something up on the Internet 即使是有經驗的程式設計師,也可能需要不時向同事請教問題,或在網際網路上尋找資料,記住這點真的很重要
classmate(s);teammate(s) 同學;隊友
So if at any point you get stuck, don't get discouraged. Making mistakes helps you improve. The more you see failure or broken codeas an opportunity to learn 因此,如果您在任何時候卡住了,不要灰心。犯錯有助於您的進步。您越是將失敗或有問題的程式碼視為學習的機會
A large part of programming is learning through trial and error and asking questions. 程式設計的很大一部分是透過嘗試、錯誤和提問來學習
if you're planning a career in IT, chances are you'll interact with Python quite a bit. 如果您打算從事 IT 工作,您很可能會與 Python 有相當多的互動
Python was considered a beginner's language and was mostly usedfor teaching concepts or writing very small simple scripts Python 被認為(視為)是一種初學者語言,主要用於概念教學或非常小的簡單腳本撰寫
can > may > could > might 可能 (機率)
Semantics are the meaning and logic of coded statements 語義是編碼語句的意義和邏輯
so it is important to be mindful of syntax when writing code 因此在撰寫程式碼時注意語法是很重要的
If your code results in an error or an exception, pay close attention to syntax and watch out for minor mistakes 如果您的程式碼產生錯誤或異常,請密切注意語法,並留意細微錯誤
In the meantime, ; Meanwhile 同時;在此期間
you'll want to install Python on your computer so you can run it locally and experiment with it as much as you like 您會想在電腦上安裝 Python,這樣您就可以在本機上運行 Python,並盡情使用它進行試驗
We'll be here to help you check that you've really got your head around these concepts with regular quizzes like this. 我們會透過這樣的定期測驗,幫助您檢查自己是否真的掌握(明白)了這些概念
If you got most of the questions right, great job. If not, no worries it's all part of learning 如果您答對了大部分的問題,那就太好了。如果沒有,不用擔心,這是學習的一部分
using a computer to perform a certain task. 使用電腦來執行某項任務
human intervention is required to complete the tasks 需要人為介入(干預)才能完成任務
we'll be talking about when it makes sense to apply automation and exactly how you do it. 我們將討論何時應用自動化是合理的,以及你實際該如何作
some tasks just aren't suited for automation. 有些任務(工作) 就是不適合自動化
fundation;basic;fundamental 基礎;基本
the fundamental concepts of computer programming 電腦程式設計的基礎概念
The program is designed to teach you the foundations of programming in Python 本課程旨在教授您 Python 程式設計的基礎
Throughout this course, we'll be teaching you the basics of programming and automation 在整個課程中,我們將教您程式設計和自動化的基本知識
Discovering and defining your own career identity makes you better equipped to choose a career path that aligns with your strengths, values, and goals 發現和定義自己的職涯定位,讓您更有能力選擇符合自己優勢、價值和目標的職涯道路
you can earn the certificate whenever you finish 無論你何時完成,你都可以獲得證書
When you enroll in the course 當你報名參加這課程
Personal data will bekept confidential, with your name separated from your data 您的個人資料將會保密,您的姓名將與您的資料分開
You'll get hands-on experience with programming concepts through interactive exercises and real-world examples. 您將透過互動式練習和實際範例,親身體驗程式設計的概念
The role of a sysadmin can vary a lot from company to company and even within different teams in the same company. 系統管理員的角色會因公司不同而有很大差異,甚至在同一公司的不同團隊中也會有所不同
In any case, this program is tailor-made for you. 無論如何,本課程都是為您量身打造的
tailored to your needs 針對您的需求量身打造
automation; automate; automatically;automatic
automating repetitive tasks
automated processes complete instructions exactly as coded
Scripts can be used for automating specific tasks
the automatic system
understand their role in automation
focus on how this language applies to automating tasks in the world of IT systems support
we'll be talking about automation, which is the process of getting computers to automatically do a task that us humans normally have to do by hand 我們將討論自動化,這個是讓電腦自動執行人類通常必須手動完成的工作的過程
So don't be afraid to make mistakes, it will give you a leg up. 所以不要害怕犯錯,這會讓你更有優勢
Working in IT is more than just a job. It's a career path 從事 IT 不只是一份工作。它是一條職涯道路
The common thread across all of these roles is knowing how to write code to solve problems and automate solutions 所有這些角色的共通點是知道如何編寫程式碼來解決問題和自動化解決方案
Those who push themselves to learn how to code in Python typically saw strong career growth. 那些努力學習 Python 程式碼的人,通常都有強勁的職涯成長
To be able to take courses at my own pace and rhythm has been an amazing experience 能以自己的步調和節奏上課,是個很棒的經驗
Commit to experimenting with AI for something that will make a real difference to you and your work 致力於嘗試使用 AI,為您和您的工作帶來真正的不同
Gen AI tools can help you get started with writing a program from scratch too. This can save lots of time and boost productivity. Gen AI 工具也可以幫助您從零開始編寫程式。這可以節省許多時間並提昇生產力
carefully consider if you need to use confidential or sensitive information to perform your task 請謹慎考慮是否需要使用機密或敏感(機敏)資訊來執行任務
AI has helped make me more efficient and creative in my daily work, 在我的日常工作裡 AI 已經協助使我更有效率及創新
add a new capability to start debugging directly from chat 新增一個功能從 chat 直接啟動偵錯
Luis will introduce you to the ways that he incorporates AI into his daily workflows to do things like check code, understand system vulnerabilities, and more. Luis 將向您介紹他如何將 AI 結合日常工作流程,以執行檢查程式碼、瞭解系統漏洞等工作
In the upcoming series of videos you will be introduced to Luis 在接下來的一系列影片中,會向您介紹 Luis
You can also use generative AI to augment routine tasks 您也可以使用產生式 AI 來增強例行性工作
offering powerful capabilities to analyze data, streamline communications, and make informed decisions 提供強大的功能來分析資料、簡化溝通並做出明智的決策
But this functionality is mostly not needed in an embedded application 但嵌入式應用程式大多不需要這些功能
details that quantify an accomplishment 量化一個工作成就的細節
Everybody else is doing so much better 所有其他人都做得更好
Reflecting on your career no matter where you've worked 反思你的職涯,無論你在哪裡工作
There's no way you can know everything. We have people who work on those things across the company and you don't have to know everything. 你不可能什麼都知道。我們公司有專人負責這些事情,你不需要什麼都知道
Those folks can support you, and they can also bea great example of how far you've come when you share your skills with them as well 這些人可以支援你,當你與他們分享你的技能時,他們也可以成為你的好榜樣
If your internet service is not fast enough to allow for a video interview, you can request a phone interview instead 如果您的網際網路服務速度不夠快,無法進行視訊面試,您可以要求電話面試
you should download that software, if you don't have it already 你應該下載該軟體 (假如你還沒有)
Typically, the recruiter or hiring manager will reach out to you over the phone or email toshare information aboutwhich software will be used for the interview 一般而言,招聘人員或人事經理會透過電話或電子郵件與您聯繫,分享面試時將使用的軟體資訊
you’ll also be going into detail about your knowledge of the profession 你還會詳述你的專業知識
you’ll talk with the recruiter or hiring manager about yourself, the kind of workor training you have, and why you want the job 您將與招聘人員或用人經理談到您自己、您所從事的工作或接受過的訓練,以及應徵這份工作的原因
It’s important to showcase your best self in the introductory phone call 在介紹電話中展示最好的自己非常重要
It shows that you're willing to take the time to ... 這展現了你願意花時間...
You've learned a lot through this program that can help you stand out as a candidate 透過這個課程,你學到了很多,這些可以幫助你在應徵者中脫穎而出
What is an effective way to stand out as a candidate 作一個應試者什麼有效方法可以讓你脫穎而出
can help set you apartas a great candidate for the job 協助讓您脫穎而出,成為該工作的最佳人選
If you’d like, you can let the company know that you appreciate the opportunity to be considered and that you’d be interested in any future roles that might be a good fit 如果您願意的話,您可以讓公司知道您很感激有機會被考慮,而且您對未來任何可能適合的職位都很感興趣
XXX and YYY are two distinct components XXX 與 YYY 是兩個不同的元件
improving model accuracy, reducing hallucinations, and tailoring LLMs for specific tasks 改善模型精確度, 減少幻覺及為特定任務定制 LLMs
While fine-tuning may be ideal for certain use cases 雖然微調可能很適用某些應用案例
No Comments