Experience the objects in Visual Basic

In this project, there are multiple types of objects used to experience how the objects work and what there purpose is. Some of the objects used are textboxes, group boxes, check boxes, and radio buttons. The program is designed as if you were a college student. Once again, its a simple program to experience how some of the objects are used in Visual Basic.

[ Experience some objects used in VB (P3) ]

If you haven’t seen the update on the Day, Date, and Time project in VB, check it out here on Github.

[ Day-Date-Time-InVB ]

Of course, leave comments about the program. I welcome feedback. 🙂

Type Conversion – A Python Programming Question

type-conversion-python-questAndAns01If your not savvy in computer programming, or specifically, savvy in Python, you probably would not be able to figure out the answer to this question. But the answer is simply:

“210” is a String. * means multiply, in which its multiplying in this case to an integer. Int is short for integer. Input means to take from a user’s entered value. The question the user is asked is, “Enter a number:”. In this case, the user enters 2. Since the user’s input is 2, and the math is a String * an integer; in other words, “210” * 2. The answer is 420. But not… “210” is a String, like words, not an actual number in this case. No its not 210210 either. Actually, what about the float? Well, if look at this as a math problem, you do all inner parenthesis first. The >>> doesn’t mean anything here other than awaiting a user’s command. The float means, simply, allow numbers from being solely integers to being values of decimals. So, its not just 210210, its actually:

float(210210)

Therefore, the actual correct answer is:

210210.0

Crazy right?

After going through a series of other questions while learning Python, I decided to start writing up the questions in a python script. This way I can test the code to see what it does before I give my answer. Yea, its sorta cheating, but not if your understanding why the code does what it does.

[The question about was a screenshot from SoloLearn.]

Visual BASIC, Average Weight Calculator

FitnessChallengeImage

A Fitness Challenge – Team Weight Loss Program == Average Weight Calculator

This program, written in Visual Basic, was a completed class assignment. Its basically a calculator, simply to give you the average of the number values you enter into the prompt. There is a max of 8 entries, you do not have to give 8 entries. Canceling after a couple or few entries will still give you an average of the entries you entered.

This is published on Github for anyone to use and modify. The solution files are within the zip file for modifying, debugging, and releasing.

Please leave feedback on what you think of this simple program.

[Find Mycanda on Github]