Creation and use of strings in Python

– Creation and use of strings in Python                                                          @PablO_CVi

In phyton, numbers can be called integers or floats, the stings are evrything else, that is considered as a letter or a word and any operation can not be made with strings as it can with integers, to create strings you just have to enter str() , int() for integers and float() for floats, for example:

str(2)+str(5)       pyhton will print ——–>    25

int(2)+int(5)       python will print ——–>     7

here is my code: https://github.com/PablOCVi/Mastery/blob/master/Mastery26.py

CC BY 4.0 Creation and use of strings in Python by Pablo is licensed under a Creative Commons Attribution 4.0 International License.

Comments are closed.