One traditional code beginners should always try is this: This will return “Hello World”. How it works The “print()” function returns whatever is inside it. Text inside the quotes will return whatever is inside it (things like print(f’1+1 is {1+1}’) will be explained later.) Try this one: Did it print…
Q&A
Resistors
A resistor is a device having a planned resistance to the passage of an electric current. In electronic circuits, resistors are used to reduce current flow, adjust signal levels, and stop transmission lines. You can also calculate the value of a resistor. Here is the resistor color code: Color Digit…
8 Tips For Mental Math
The “9-trick”: To add 9 to any number, first add 10, and then subtract 1. Can you think of an easy way to add 76 + 99? Change it to 75 + 100. How about 385 + 999? How would you add 39 + 28 in your head? Let 39 become 40… which reduces 28 to 27. The…
Python Built-In Functions
Function Descriptionabs(): Returns the absolute value of a numberbool(): Returns the boolean value of the specified objectchr(): Returns a character from the specified Unicode code.eval(): Evaluates and executes an expressionexec(): Executes the specified code (or object)float(): Returns a floating point numberinput(): Allowing user inputint(): Returns an integer numberlen(): Returns the…
Cinnamon
Cinnamon is one of the world’s most popular spices. Without it, Christmas and Thanksgiving might as well become tasteless. Cinnamon is harvested from the inner bark of a tropical evergreen plant. Cinnamon contains many compounds that have a positive effect on health. Studies have found that cinnamon might help balance…
Soldering Iron
Soldering iron is a tool used for melting tin and adding it to metals that are to be joined. Tin could be easily melted, at a temperature of 100+ degrees tin starts to form into a liquid. What items can be used to be soldered? One element that could be…
Raspberry Pi
Raspberry Pi is a small computer that uses a keyboard and mouse. It is a capable device that allows people from all ages to learn different coding languages like python, C++, or C. Raspberry Pi also has the ability to interact with the outside world; it can be a security…
What Does Spam Mean?
Spam means inappropriate language sent on social media to a group of people. Or, in simpler meaning, it means “unrequested messages.” Spam messages on Gmail are usually meant so that the person who sent it can steal money. The set up a fake website and lure people there to give…
What is a 3D printer?
3D printing is a technology that lets you create a 3D object from a digital model. All you need to do is make a design, transfer the file to a 3D printer, then bring your object to life. The steps to create a 3D model are: Create a digital design…
Questions & Answers 4/27/2021
What does UBC usually talk about? The University of British Columbia (UBC) is a global center for teaching, learning and research; it is ranked among the top 20 public universities in the world. What does CAO do? The CAO (chief administrative officer) is responsible for managing the day-to-day operations of…
