python打印变量的值
The task is to create number variables to store integer, float and complex number, we have to print their types and values also in python.
任务是创建数字变量以存储整数,浮点数和复数 ,我们还必须在python中打印它们的类型和值 。
Python数字 (Python numbers)
There are three types of numbers in python:
python中有三种类型的数字:
Integer number
整数
Float number
浮点数
Complex number
复数
In the below-given program, we are creating different variables to store the numbers and printing their types and values.
在下面给出的程序中,我们正在创建不同的变量来存储数字并打印其类型和值。