Learning Python, C, R, and SQL. (@Pythoneering) header
Learning Python, C, R, and SQL. (@Pythoneering) profile picture

I'm a mechanical engineer and in this blog, I'll take you on a journey to becoming a programmer. Feel free to join the discussions and learn new things... :)

Outta Place
Joined July 2020
Photo by Learning Python, C, R, and SQL. (@Pythoneering)
Get the reward but control the risk.
1
1
Learning Python, C, R, and SQL. retweeted
print(f"You are biased to think that an AI learns completely by {input('Word: ')}") #AI #ArtificialIntelligence #pythonprogramming
1
2
103
Learning Python, C, R, and SQL. retweeted
"By far, the greatest danger of Artificial Intelligence is that people conclude too early that they understand it." - Eliezer Yudkowsky
1
5
12
931
Learning Python, C, R, and SQL. retweeted
Are AIs basically computerized collections of human thoughts? Explain your answer in the comments! 💭⬇️ #AI #artificalintelligence #aidiscussion #aiopinion #FoodForThought
33%Yes
67%No
6 votes • Final results
1
1
6
191
Learning Python, C, R, and SQL. retweeted
🐍💡 Python is the go-to language for AI beginners, thanks to its simplicity and powerful libraries! How familiar are you with popular libraries like TensorFlow, PyTorch, and scikit-learn? 🌟 #PythonAI #AILibraries
1
3
79
Learning Python, C, R, and SQL. retweeted
🤔💭 Uncommon take: Can AI make more ethical decisions than bias-prone humans? #AIEthics
38%Yes
38%No
23%Don’t know
13 votes • Final results
2
1
1
4
476
Learning Python, C, R, and SQL. retweeted
#Python uses a list of reserved keywords, which we cannot use as variable names. Fortunately, there is an easy way to check this list. Just type the commands: import keyword print(keword.kwlist) Have fun #coding subscribe for more #CodingTips
3
2
Learning Python, C, R, and SQL. retweeted
The speed of light between earth and moon in real time
10
45
4
252
Learning Python, C, R, and SQL. retweeted
Light speed. Credit @physicsJ
54
1,132
72
5,314
Decided to switch my learning course to #CS50's #IntroductiontoComputerScience as this course provides more in-depth material and I think it will lead me to a better understanding of Computer Science in general. #Subscribe to follow my journey on learning to #code
1
#Python uses a list of reserved keywords, which we cannot use as variable names. Fortunately, there is an easy way to check this list. Just type the commands: import keyword print(keword.kwlist) Have fun #coding subscribe for more #CodingTips
3
2
How to convert user input to an integer: user_input = input("Enter integer: ") user_input_int = int(user_input) #learn #python #programming Good luck :)
Did you know that #Python3 lets you convert any value type to a #boolean ? Any non-empty value is interpreted as True, while empty variable convert to False. #coding #programming #python
2
3
#Python Converting strings to other values is principally the same as counterwise. For example, int("1") = 1 float("1.1") = 1.1 bool("True") = True #learn #coding #subscribe
1
1
Since #Python automatically recognises a value type, how do we convert it to another? Simple solution: str(a) takes variable 'a' as input and returns a string representation. #Subscribe to #learn #Python with me :)
Bottom line: never assign a print statement to a variable :) Good luck #coding #Python !
None values can be 'valuable' in debugging. For example, when we assign a print statement to a variable, the actual value of the variable becomes 'None.'
1
There is a way to create a variable with no value in it, or rather, a 'None-type' value in it, which can only contain 'None.' The most straightforward way to do this: a = None #Learn #programming in #python with me :)
1
1
Types of multiplication within #python: Integer * Float = Possible Integer * string = Possible Integer * Boolean = Possible Float * Boolean = Possible String * Boolean = Possible Float * String = Impossible Subscribe to learn more about #programming in #python3
To find out which data type we're dealing within #pythonprogramming, we can use the function: type() For example: input: print(type(10)) output: <class 'int'> Joint me on my journey to becoming a #computerscience #engineer, starting with #Python.
Null is the value that your computer stores when a variable hasn't been assigned to a real value yet. Subscribe for more on #Python #C #programming
1