Tutorial Python Basics data types, IO and operators

Опубликовано: 27 Июль 2026
на канале: Earth Walker
198
7

Please like the video if it helps you :)

Simple and short python example video to illustrate different data types and conversion. It also include using input() to get user inputs, print() and fstring to format and display strings on console output. Basic Exception handling using try and except are introduced to handle user inputs. It ends with introducing few basic arithmetic operators which includes multiply, power, divison, floor division, modulo or remainder.

Beginner may be confused with string (containing purely integers) and integer. Not understanding them may cause codes to run into compilation and runtime errors. This tutorial aims to use simple examples to beginner to learn how to recognise string and integer and how to convert from one data type to another. Understanding this helps in know whether we need to convert data type when we're getiing user input using input(). It alse shows how to use fstring method to format and display output string with variable values.

It is common to get into runtime exception (ValueError Exception) during user input. This tutorial also use a simple example to illustrate how we could use try and except command to handle the error gracefully without getting into an exception.

This tutorial also use very simple and easy to understand example to illustrate various basic arithmetic operations like multiply, power, divison, floor division, modulo or remainder.

Hope these inputs are helpful for you.

0:00 - String,int,float data and how to convert data types
3:08 - Getting user input (string, int or float) using input()
5:30 - using int() to get whole number from decimal
6:20 - using print() and fstring to format and display output on console
9:30 - using try except with ValueError for error (exception) handling of user input
13:54 - Multi-line string
14:22 - Operators * (multiplication) , ** (power)
15:06 - Operators / (division), // (floor division), % (modulo or remainder)

Exploration Videos:
Tutorial Python variable summation and concatenation:    • Tutorial Python variable summation and con...  
Simple Tutorial Python getting user input as string or int :    • Simple Tutorial Python getting user input ...  

Keywords:
#python
string
#integer
#variable
#multilinestring
#try
#simple
#except
#tutorial
#short
#easy
#ValueError
#print
#fstring
#int()
#float()
#multiply
#divison
#floordivision
#modulo
#remainder
#power
#IO
#datatype
#dataconversion
#operators