This is my code!
I’m having a lot of troubles with this, specially because i have not time enough. This will be a reminder to myself that i should never let things to the last minute. The code i wrote is this, and i… Continue Reading →
I’m having a lot of troubles with this, specially because i have not time enough. This will be a reminder to myself that i should never let things to the last minute. The code i wrote is this, and i… Continue Reading →
Here is my code for the Quiz08, about the working with the values in a vector. Quiz08, SumSquares: https://github.com/hrglez/TC1017/blob/master/SumSquares That’s all folks, see ya!
Here is my code for the Quiz08, about the working with the values in a vector. Quiz08, SumSquares: https://github.com/hrglez/TC1017/blob/master/SumSquares That’s all folks, see ya!
P1.- #Jorge Fernando Saldaña Cabal #A01350730 import math def distance(x1,y1,x2,y2): z1=x1-x2 z1=z1**2 z2=y1-y2 z2=z2**2 res=math.sqrt(z1+z2) return(res) def main(): x1=int(input(‘Type x1: ‘)) y1=int(input(‘Type y1: ‘)) x2=int(input(‘Type x2: ‘)) y2=int(input(‘Type y2: ‘)) print(‘The distance between those points is: ‘, distance(x1,y1,x2,y2)) return(0) main()… Continue Reading →
P1.- #Jorge Fernando Saldaña Cabal #A01350730 import math def distance(x1,y1,x2,y2): z1=x1-x2 z1=z1**2 z2=y1-y2 z2=z2**2 res=math.sqrt(z1+z2) return(res) def main(): x1=int(input(‘Type x1: ‘)) y1=int(input(‘Type y1: ‘)) x2=int(input(‘Type x2: ‘)) y2=int(input(‘Type y2: ‘)) print(‘The distance between those points is: ‘, distance(x1,y1,x2,y2)) return(0) main()… Continue Reading →
This is my code!
In this pages you can see the programs for quiz 7
https://github.com/dianagdv/TC101/blob/master/Quiz7_1
https://github.com/dianagdv/TC101/blob/master/Quiz7_2
Hi everybody! The following codes are for the Quiz07 of the course: Question 1 (fibonacci): https://github.com/hrglez/TC1017/blob/master/Fibonacci Question 2 (palindrome) : https://github.com/hrglez/TC1017/blob/master/Palindrome Any problems with the codes, let me know. See ya!