How the input function works in Python : The Input is nothing but some value from a system or user. https://pynative.com/python-input-function-get-user-input/ When input() function executes program flow will be stopped until the user has given an input. input(): Whatever you enter as input, input function convert it into a string. If you enter an integer„Basic User Input“ weiterlesen
No this blog entry is not about how to use a printer. It is about how to use Basic Output with the print statement. The print function serves to correspond with the outside world. The print function prints any number of values separated by commas. If an object isn’t a string, then print() converts it„Printing for your success“ weiterlesen
… sounds boring, is boring – but even though it is important to know them. Variables reserve memory locations to store values depending on data type: Numerical types: int (signed integers) long (long integers, they can also be represented in octal and hexadecimal) float (floating point real values) complex (complex numbers) Strings str are mostly„Basic Types in Python…“ weiterlesen
The Zen of Python is a collection of 19 „guiding principles“ for writing computer programs that influence the design of the Python programming language. Wikipedia As you can see: Comments don’t suck, they help understanding your code KEEP IT SIMPLE, because simple is better than complex
… no they don’t! It is important to use comments that your codes can easily understood by others: Giving variables ovious names # Python ignores everything after the hashtag up to the end of the line Multiline comments are mostly used for documentation But: Keep it simple!
First assignment was to perform simple arithmetic operations. To be aware of: Integer ≠ String x % y Modulo Operator x/y Divisor can be float value x//y Divisor is only integer value
… was three years ago when I was on Tioman, Malaysia. I spent the night in a simple wooden hut on the beach and had a visit in my bathroom at night.
Hey, my Name is Niklas, I am 21 years old and I am studying Industrial Engineering. Right now I am spending one semester abroad at Tec de Monterrey in Guadalajara, Mexico. Why did I create this blog? Because I want to share with you my experiences while learning programming with Python. Why do I want„Who am I?“ weiterlesen