1.2. Basic Python expression and statement Learning automate the boring stuff with Python
Posted by: admin 3 years, 3 months ago
(Comments)
This is my personal note from what I relearn about Python. Lately, I want to activate again my muscle memory. And I want to remember it well. Therefore I will try to make it in the document that I remember. And this blog will suit the idea.
1.2. Basic Python expression and statement Learning automate the boring stuff with Python
Theory
I also will keep it in Trinket for the emulator. So if I forget I always can come back.
Don't forget to also check my YT channel for it.
So the lesson today is related to a couple of important points.
Example
And when it connected with the summary
Summary
- An instruction that evaluates to a single value is an expression. An instruction that doesn't is a statement.
- IDLE is an editor.
- The interactive shell window has the >>> prompt.
- The file editor window is where you enter code for complete programs.
- Data types: int, float, string
- Strings hold text and begin and end with quotes: ‘Hello world!'
- Values can be stored in variables: spam = 42
- Variables can be used anywhere values can be used in expressions: spam + 1
3 weeks, 1 day ago
What does the Fed do in 2008
Recent newsToday, one of the popular topic related to financial policy is the question on
read more3 weeks, 1 day ago
What is Lifetime Value of customer
Recent newsHave you ever heard about LTV? well if you talk about Macroprudential policy, it will be loan to value. But if you talk about startups and the world of tech, it refers to the Lifetime value of a company.
read more1 month, 2 weeks ago
Mengenal lebih dalam kurikulum merdeka
Recent newsAkhirnya Indonesia menerapkan kurikulum merdeka, namun sebenarnya apa sih itu kurikulum merdeka?
read more1 month, 3 weeks ago
How to understand the impact of interactive variable from interaction model to depended variable
Recent newsI tried from my own research. And here it is
read more2 months, 1 week ago
Thing you should do, to not clutter the social media
Recent newsThere 7 things that really move the needle when it comes to social media. They aren’t always easy, but they really do produce results.
read more2 months, 1 week ago
Elektabilitas cawapres 2024, Erick Thohir paling atas
Recent newsJelang Pilpres 2024, sejumlah nama telah teridentifikasi dan mendapat dukungan publik. Tiga teratas capres sejauh ini adalah Anies Baswedan, Ganjar Pranowo, dan Prabowo Subianto. Ketiganya memang telah mengantongi dukungan dari beberapa partai politik. Namun, dukungan pada ketiganya tampak masih belum ajeg. Hal ini menunjukkan bahwa preferensi publik juga belum ajeg, masih rentan terhadap perkembangan situasi politik maupun kondisi lain.
read more7 months, 3 weeks ago
Collaboratively administrate empowered markets via plug-and-play networks. Dynamically procrastinate B2C users after installed base benefits. Dramatically visualize customer directed convergence without
Comments