Python Programming Tutorial - 5: Numbers & Strings

preview_player
Показать описание
In this tutorial we'll talk a bit about numbers and strings in python. We'll talk about both data types in lot of detail later in the course...this is just a heads up!
Рекомендации по теме
Комментарии
Автор

+Madhur Bhatia Help! i am using IDLE and complex data type keep giving me the below error
>>> myvar=8-4h
SyntaxError: invalid syntax

dennixmaina
Автор

Is the letter "j" a special reserved character for complex number?? I tried using the letter i for imaginary (in electronics they use j for the imaginary part). and also tried another arbitrary letter but it gives the error..so am i right just to use the j?

confidential
Автор

hi guys i am a programmer and here 7-4j, j is a inputable command  
thats why j is not declared as an error ..type myvar=6+5j..and see 

qhkjsqs
Автор

I think you miss that " delete memory " topic ?

natarajakaveeti
Автор

Madhur Bhatia I am using IDLE.Please explain why am getting an error on the complex variable
>>> myvar=7-4h
SyntaxError: invalid syntax

dennixmaina
Автор

Thank you for these awesome tutorials!  The edx tutorials are boring as hell.

tonpo
Автор

How to concatenate as two different lines?

meenakshisl
Автор

didn't explain str[-1]

What does this do?

ashwin
welcome to shbcf.ru