JOSETUSABE COM ALL RIGHT RESERVED
Practice 2 – Python – Beginner 101
March 22, 2020
JOSETUSABE COM ALL RIGHT RESERVED
Variable and Types 2 More example – Python – Beginner 101
March 23, 2020

Variable and Types – Python – Beginner 101

JOSETUSABE COM ALL RIGHT RESERVED

JOSETUSABE COM ALL RIGHT RESERVED

LearnPython

#               New in JoseTusabe WEB Learn the basic of Python
#                       Example Code - JoseTusabe.com
#                            Basic Programming 
# To define an integer, you can use the followin syntax:
my_integer1 = 99
print (my_integer1)
# You have assigned an integer to a variable "my_integer1"

Copy the code

#               New in JoseTusabe WEB Learn the basic of Python
#                       Example Code - JoseTusabe.com
#                            Basic Programming 
examplefloat = 8.0
print (examplefloat)
# "examplefloat" is the name of the variable wich is = to 8.0

 

Copy the code

 

#   New in JoseTusabe WEB Learn the basic of Python
#      Example Code - JoseTusabe.com
#            Basic Programming
#            What is a String?
#            A string is
# Example
string1 = "JoseTusabe.com"
print(string1)
# This print statement will print just the words between the "".
# Example 2
string2 = 'JoseTusabe WEB - Single Quotes'
print (string2)
# This means for a string you could use single quotes or double quotes it is the same result

 

Copy the code

 

 

 

 

...Python Console

Terminal to test the code, delete the existing code and paste the new one and run it.
 

What is Python? Executive Summary

              Python is an interpreted, object-oriented, high-level programming language with dynamic semantics. Its high-level built in data structures, combined with dynamic typing and dynamic binding, make it very attractive for Rapid Application Development, as well as for use as a scripting or glue language to connect existing components together. Python's simple, easy to learn syntax emphasizes readability and therefore reduces the cost of program maintenance. Python supports modules and packages, which encourages program modularity and code reuse. The Python interpreter and the extensive standard library are available in source or binary form without charge for all major platforms, and can be freely distributed.

-

              Often, programmers fall in love with Python because of the increased productivity it provides. Since there is no compilation step, the edit-test-debug cycle is incredibly fast. Debugging Python programs is easy: a bug or bad input will never cause a segmentation fault. Instead, when the interpreter discovers an error, it raises an exception. When the program doesn't catch the exception, the interpreter prints a stack trace. A source level debugger allows inspection of local and global variables, evaluation of arbitrary expressions, setting breakpoints, stepping through the code a line at a time, and so on. The debugger is written in Python itself, testifying to Python's introspective power. On the other hand, often the quickest way to debug a program is to add a few print statements to the source: the fast edit-test-debug cycle makes this simple approach very effective.

-

            See also some comparisons between Python and other languages.

Book Appointment

 
old
old

2
Leave a Reply

JOSETUSABE.COM ALL RIGHT RESERVED

                    ALL RIGHT RESERVED

avatar
1 Comment threads
1 Thread replies
0 Followers
 
Most reacted comment
Hottest comment thread
2 Comment authors
AdminAntonio Recent comment authors
  Subscribe  
newest oldest most voted
Notify of
Antonio
Guest
Antonio

Hay felicidad de ahora te estás metiendo programación sale pálante