pytom-blog2
pytom-blog2
Tom The Python
11 posts
My adventure of learning to code.
Don't wanna be here? Send us removal request.
pytom-blog2 · 4 years ago
Text
What happens when a string is entered?
Tumblr media
As you can see I have entered a string in to the same code. The code produced a value error. This was because in the code I have set the input to be an integer. If I wanted this code to work with strings I would have to change the code to be str instead of int. 
0 notes
pytom-blog2 · 4 years ago
Text
Endless Temp Converter
Tumblr media
0 notes
pytom-blog2 · 4 years ago
Text
Endless while loop
Tumblr media
Endless While Loop
0 notes
pytom-blog2 · 4 years ago
Text
Higher or Lower Code
Tumblr media
This is my higher or lower code
0 notes
pytom-blog2 · 4 years ago
Text
Temperature Converter
Tumblr media
This code changes Celsius into Fahrenheit.  
0 notes
pytom-blog2 · 4 years ago
Text
Python Script Editor
Tumblr media
Here I used the Python script editor to insert my code.
0 notes
pytom-blog2 · 4 years ago
Text
Getting started with Maya
Tumblr media
As you can see, I have enter a line of code (  maya.cmds.polySphere() ) Which has inserts a sphere in to the Maya workspace. This is the first activity I have completed which connects python and maya together. 
0 notes
pytom-blog2 · 4 years ago
Text
Python Pals, Please fix my code mystery bugs
print("Hello what is your name?")name = input()print("Hello", name)print("How old are you?")age = int(input())if Age > int(19):print("You are older then me, you old pensioner")elif Age < int(19):  print("Grow up kiddy")else:  print("You are the same age as me")
0 notes
pytom-blog2 · 4 years ago
Text
Tumblr media
So here we have 4 lines of code which all print out the same outcome once you have ran the program. However the bottom line prints out a rather large gap between the comma and the how. The reason behind this is to do with syntax. The syntax is written with a gap after the last comma and then the speech marks are closed. So when the program is ran, the large gap also gets printed out. Notice how with the other lines of code, there is no large gap between the speech marks.
0 notes
pytom-blog2 · 4 years ago
Text
Introduction to Maya
Maya was first released back in 1998 by Alias|Wavefront, and acquired by Autodesk in early 2006. Since 2006, Autodesk’s team of engineers have been improving and adding to the software. Many of your favourite studios use Maya as a critical piece of their production pipeline, from rigging and Modelling, all the way through to character animation. A quick Google search for jobs in the animation industry will show you just how many studios look for experience in Maya, which is in the United States and internationally. Having this skill will make you stand out from the crowd when you are looking for jobs.
0 notes
pytom-blog2 · 4 years ago
Text
Hello and welcome to PyTom!
1 note · View note