#learn python
Explore tagged Tumblr posts
izicodes · 2 years ago
Text
Random Python Resources | Resources ✨
Tumblr media
Hiya! I found some Python links in one of my bookmark folders so I thought I would just share them - might be helpful to someone!
Think Python 2 (book) - LINK
Learning Python (book) - LINK
Learn Python from beginner to advanced (site) - LINK
Python Tutorial (book) - LINK
Introduction to Programming with Python (16-hour video) - LINK
Python Learning Roadmap (site) - LINK
Good luck with your studies 👩🏾‍🎓👍🏾💗
Tumblr media
320 notes · View notes
Text
Is it possible to learn Python by using Android apps?
Tumblr media
Post #92: Analytics Insight, 5 Android Apps To Learn Python, 2023.
36 notes · View notes
learnerworld · 4 months ago
Text
What Is a Dynamically Typed Language?
When learning Python, you might hear the term “dynamically typed language” frequently. But what does it mean? Let’s break it down.
Typing refers to type-checking—the process of verifying whether the data types in your code are compatible with the operations being performed.
1️⃣ Strongly vs. Weakly Typed Languages
Strongly-Typed Languages (e.g., Python): These languages don’t allow type-coercion (implicit type conversion). For example:
pythonCopy code"1" + 2  # TypeError: cannot concatenate 'str' and 'int'
Weakly-Typed Languages (e.g., JavaScript): These languages allow type-coercion:
javascriptCopy code"1" + 2  // Outputs: "12"
2️⃣ Static vs. Dynamic Typing
Type-checking can occur at two stages:
Static Typing (e.g., Java, C++): Data types are checked before the program runs. You must declare the type of variables explicitly:
javaCopy codeintx=10; 
Dynamic Typing (e.g., Python): Data types are checked during program execution. Variable types are inferred automatically:
pythonCopy codex = 10  # No need to declare 'x' as an integer.
Python: A Dynamically Typed Language
Since Python is an interpreted language, it executes code line by line. Type-checking happens on the fly, allowing you to write flexible and concise code.
Example: pythonCopy codex = "Hello"x = 10  # No error—Python allows 'x' to change types.
This flexibility makes Python beginner-friendly but also increases the risk of runtime errors if types are misused.
Key Takeaway
Dynamic typing simplifies coding by removing the need for explicit type declarations. However, it also requires careful testing to ensure type-related bugs don’t creep in.
Python learners, embrace dynamic typing—it’s one of the reasons Python is so versatile and fun to use!
2 notes · View notes
angeaddc · 5 months ago
Text
youtube
3 notes · View notes
crippl-hacker · 1 year ago
Text
Python Day 2
Today I am starting off with exercise 13. Exercise 13 introduces the concepts of variables, modules, and argv.
Tumblr media
[ID: Exercise 13 code. It imports the argv module from sys, then uses argv to create 4 variables, script, first, second, and third. Next print() is used to print out the different variables /ID]
Tumblr media Tumblr media Tumblr media Tumblr media Tumblr media
When calling the program I was confused as to why I got the error of too many variables. Looking into this I found that the first variable of 'argv' is always going to be the script. I then fixed that and added in script as the first variable.
Next for the study drill I wrote a new variable and updated the code to print the retrieved information.
Tumblr media Tumblr media
Alrighty then - onto exercise 14. Exercise 14 is about practicing prompts and variables.
Tumblr media Tumblr media
In the study drills I updated the script with a new prompt and print statement.
Tumblr media Tumblr media
Exercise 15 is a simple program that prints out the contents of a file. An important thing to note is to always close the file when doing things like this!
Tumblr media
Exercise 16 practices making a copy of a file and then updating it with 3 lines from user input.
Tumblr media Tumblr media
I ended up running into the issue where it was saying that it couldn't read the file. I ended up finding out that .read() starts from the cursor position - and if the cursor is at the end of the file from writing it you will not have your file printed.
Tumblr media Tumblr media Tumblr media Tumblr media
Exercise 17 is practicing copying files over and was relatively simple.
Tumblr media Tumblr media
4 notes · View notes
onlinelearningclass · 1 year ago
Text
Tumblr media
Learn Python To Secure Your Future In Data Science
Python is one of the most important coding or programming languages that is used by more than 8 million programmers as their main programming language.Now let's talk about how to learn Python. Python language is the basic and the easiest language compared to any other language.
To more info Visit us :- https://www.sssi.in/blog/engineering/learn-python-to-secure-your-future
2 notes · View notes
womaneng · 2 years ago
Text
Overview of the Python programming language
3 notes · View notes
rociortiz-pythonblog · 2 years ago
Text
Como hacer un "Hola Mundo" en python
1 Utiliza la palabra reservada print
2 Abre parentesis y comillas dobles ("")
3 Escribe dentro del parentesis ("Hola Mundo")
4 Ejecuta en la terminal
5 Listo!
Tumblr media
6 notes · View notes
Text
Learn and enjoy!
youtube
Welcome to the "Interactive Free Python Lab" – your gateway to mastering Python programming! This free, comprehensive course is designed to take you from a complete beginner to an intermediate coder through interactive, hands-on learning. Our curriculum is organized into 21 structured sections covering everything from basic Python syntax to advanced topics like data science, machine learning, and artificial intelligence.
With over 400 practical examples accompanied by detailed explanations and exercises, you’ll learn to tackle real coding challenges and gain the confidence to create your own projects.
Embark on your coding journey today with Interactive Free Python Lab. Subscribe, learn, and join a vibrant community of aspiring developers and data enthusiasts who are transforming their futures through the power of Python. Your path to Python mastery starts here!
0 notes
tccicomputercoaching · 1 month ago
Text
Java vs Python: Which One Should You Learn? Compare their features, benefits, and career opportunities to choose the right programming language for you.
0 notes
hackeocafe · 2 months ago
Text
Tumblr media
The Big Book of Small Python Projects
You can read it online or request for a free preview ebook.
Link:
1 note · View note
sunbeaminfo · 3 months ago
Text
Sunbeam Institute's comprehensive modular courses
Elevate your IT expertise with Sunbeam Institute's comprehensive modular courses in Pune. Designed for both budding professionals and seasoned experts, our programs offer in-depth knowledge and practical skills to excel in today's dynamic tech industry.
Course Offerings:
Advance Java with Spring Hibernate
Duration: 90 hours
Overview: Master advanced Java programming and integrate with Spring and Hibernate frameworks for robust enterprise applications.
Python Development
Duration: 40 hours
Overview: Gain proficiency in Python programming, covering fundamental to advanced topics for versatile application development.
Data Structures and Algorithms
Duration: 60 hours
Overview: Understand and implement essential data structures and algorithms to optimize problem-solving skills.
DevOps
Duration: 80 hours
Overview: Learn the principles and tools of DevOps to streamline software development and deployment processes.
Machine Learning
Duration: 40 hours
Overview: Delve into machine learning concepts and applications, preparing you for the evolving AI landscape.
Why Choose Sunbeam Institute?
Experienced Faculty: Learn from industry experts with extensive teaching and real-world experience.
Hands-on Training: Engage in practical sessions and projects to apply theoretical knowledge effectively.
State-of-the-Art Infrastructure: Benefit from modern labs and resources that foster an optimal learning environment.
Placement Assistance: Leverage our strong industry connections to secure promising career opportunities.
0 notes
Text
Tumblr media
Post #106: Python.Hub on Instagram, The different operators in Python, 2023.
21 notes · View notes
victoriousdigital · 3 months ago
Text
Tumblr media
0 notes
angeaddc · 2 months ago
Text
youtube
1 note · View note
crippl-hacker · 1 year ago
Text
Python Day 5
Today we warm up by completing Exercise 25. This is even more practice with functions and variables!
Tumblr media
To run the program we call python in the terminal and import ex25 from there.
Tumblr media
As I was working through calling the different functions in the terminal I realized that I missed a function - specifically the one that sorted a sentence. I called it and ended up getting a mess of individual letters. After bug hunting I found the issue to be that I called sort_words(sentence) instead of sort_words(words)
Tumblr media
After fixing those issues I finished running through the function calls in the terminal and it went great!
Tumblr media
Up next is Exercise 26! We are halfway through the book and it is time for a test. We are given broken code that we copy paste into a file. Our job is to fix it and get the program running! As I went through the program I left comments wherever I was fixing code. Below is my finished and fixed program.
Tumblr media Tumblr media Tumblr media
And here is the output in the terminal:
Tumblr media
Exercise 27 went over different booleans as well as a chart to memorize. The next practical was exercise 28 where you type in different statements then guess if they will be true or false. With my previous experience in programming I already knew a lot - the only thing that tripped me up was NOT OR booleans. Here's the output of the terminal!
Tumblr media
Chugging right along to Exercise 29! ex29 introduced if statements. I already know lots about if statements from Javascript so this is more of a refresher than anything.
Tumblr media
And then the output:
Tumblr media
Exercise 30 introduces Else If statements.
Tumblr media
And the output:
Tumblr media
Exercise 31 combines everything that we've learned about If/Elif statements with the new concept of Nested statements. Using nested statements we are able to write a very simple Choose Your Own Adventure text game.
Tumblr media
Here are a couple different runs I did with this program. My first try was not the best - I ended up having my mind turned into Jello!
Tumblr media
My second run went better! I ran into a bear but I survived.
Tumblr media
For the study drill it challenged me to write my own text game. I made a very simple one and got about halfway through where I want it to be.
Tumblr media
That's it for today folks!
6 notes · View notes