Saltar al reproductorSaltar al contenido principal
  • hace 2 días
Una cadena puede estar precedida por el carácter u o el carácter r, los cuales indican, respectivamente, que se trata de una cadena que utiliza codificación Unicode y una cadena raw
https://mega.nz/file/jJclFCIB#ZiyemoLfOwJondtgSKUoabYCxTw5ouQs6s1QcI9jJN8
文言 Wenyan :
https://ide.wy-lang.org/?file=multiplication_table

Categoría

📚
Aprendizaje
Transcripción
00:06Welcome, this video will talk about Python, which belongs to the group of programming languages.
00:11programming and can be classified as an interpreted, high-level language,
00:15cross-platform, dynamically typed, and multi-paradigm. Unlike most languages ​​of
00:21In programming, Python provides us with style rules in order to write code
00:25A more readable and standardized source. Here we'll talk about strings; in Python, they're lists.
00:31of characters that can be stored in the memory of the computer you are using. A variable,
00:36or constant, can contain values ​​of various types. Among them the text string.
00:44Okay, let's begin. We'll create a new folder, in our case it will be called task, and inside it,
00:49Files will be created, called Python 1 and Python 2. In Python 1, we will create the classic Hello World.
00:56But since I'm studying Mandarin Chinese, it will be in the present language; for this, we created a message.
01:01Chinese presentation, here we will create the following message with print.
01:05Hello Professor Sanji.
01:09The other string, with print "my name is Daniel", or "my name is Daniel", the following string means,
01:19I am a student at UTC.
01:23The last string means, goodbye beautiful teacher Sanji. Once we have written the code,
01:41We then run the file in the Python terminal; here we can see the text messages
01:46They are in list form, but since we created a single message, this is about studying the use of the
01:51Variable and string assignment in Python.
01:55Strings also support operators like `str`, which works by concatenating the strings.
02:00strings used as operands, and in which the string is repeated as many times as indicated by the
02:04number or text, used as the second operand.
02:08Here we assign the letters A, B, C, D, N to each message; this is where the message will be presented.
02:14Continuous form with print, will be the sum of the total text, of course from the beginning
02:19I could put the whole text in one go, but this is about the practice of assigning
02:23Variables and strings in Python. Here we will create the following message using print.
02:27Hello Professor Sanji.
02:32The other string, with print my name is Daniel, or I am called Daniel.
02:38The following string means, I am a student at UTC.
02:45The last string means, goodbye beautiful teacher Sanji.
02:49Once we have written the code, in the assignment of E, is where the summation will be
02:54total gives us the result, the total, or the text message in one go.
03:06If you find this useful, don't forget to subscribe.
Comentarios

Recomendada