Posts by Pablo Leonardo • 69 points
4 posts
-
1
votes3
answers415
viewsQ: Interfacing of vectors in python
Make a program that fills two vectors of five numerical elements each and shows the vector resulting from their intercalation. Vectors must be initialized with the values below:…
python-3.xasked Pablo Leonardo 69 -
-1
votes3
answers1808
viewsQ: When should I use "Return" or "print" in a function?
Can they exemplify some situation that can be exercised by one command but not another? Because here you gave the same thing in both commands. Using print: >>> def media(x1, x2): ...…
pythonasked Pablo Leonardo 69 -
1
votes3
answers126
viewsQ: Formal definition of operations = and ==
What is the formal definition of the use of = and of == in Python? I can identify in the examples when I have to use which, but when I try to identify these operations by a formal definition as…
-
0
votes1
answer1064
viewsQ: Time between two dates
How do I know the amount of time in days, hours and months between two dates using Python? For example how many days, months and years there are between 22/11/213 and 25/03/2014.