Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
58 commits
Select commit Hold shift + click to select a range
1487b64
Update Module1.md
CSI-Ignacio-Guzman Aug 24, 2021
4634025
Merge branch 'CSI-Carlos-Cobian:main' into main
CSI-Ignacio-Guzman Sep 1, 2021
26335ae
DOS O TRES
CSI-Ignacio-Guzman Sep 1, 2021
03b3005
dos o tres
CSI-Ignacio-Guzman Sep 3, 2021
9c27c53
Create Module4.py
CSI-Ignacio-Guzman Sep 10, 2021
5eb466f
Update Module4.py
CSI-Ignacio-Guzman Sep 20, 2021
32d454c
Merge branch 'CSI-Carlos-Cobian:main' into main
CSI-Ignacio-Guzman Sep 20, 2021
c23cd3d
mm
CSI-Ignacio-Guzman Sep 28, 2021
576ed1c
space
CSI-Ignacio-Guzman Sep 28, 2021
32e450d
Create Ignacio-Guzman-Jump.py
CSI-Ignacio-Guzman Oct 6, 2021
eeb5b6c
ya
CSI-Ignacio-Guzman Oct 6, 2021
4075e13
Update Boolean expresions.py
CSI-Ignacio-Guzman Oct 8, 2021
7f706a9
Create Ignacio-Guzman-magic.py
CSI-Ignacio-Guzman Oct 18, 2021
1b9054a
Squashed commit of the following:
CSI-Ignacio-Guzman Oct 18, 2021
cf95498
Merge branch 'CSI-Carlos-Cobian:main' into main
CSI-Ignacio-Guzman Oct 20, 2021
26a89e1
Merge branch 'CSI-Carlos-Cobian:main' into main
CSI-Ignacio-Guzman Oct 26, 2021
4686521
d mv d
CSI-Ignacio-Guzman Oct 26, 2021
7f7b1ae
Merge branch 'main' of https://github.com/CSI-Ignacio-Guzman/CSI-Pyth…
CSI-Ignacio-Guzman Oct 26, 2021
f2efb68
Merge branch 'CSI-Carlos-Cobian:main' into main
CSI-Ignacio-Guzman Oct 28, 2021
f42de2b
ma
CSI-Ignacio-Guzman Oct 28, 2021
95797c8
Merge branch 'main' of https://github.com/CSI-Ignacio-Guzman/CSI-Pyth…
CSI-Ignacio-Guzman Oct 28, 2021
0eb97f9
Merge branch 'CSI-Carlos-Cobian:main' into main
CSI-Ignacio-Guzman Nov 3, 2021
9aff95a
edicion final
CSI-Ignacio-Guzman Nov 8, 2021
fca794b
Mover a carpeta module4
CSI-Ignacio-Guzman Nov 8, 2021
cb08b82
Merge branch 'CSI-Carlos-Cobian:main' into main
CSI-Ignacio-Guzman Nov 11, 2021
a6a2052
Update expermentaldata.py
CSI-Ignacio-Guzman Nov 18, 2021
648c34c
Merge branch 'main' of https://github.com/CSI-Ignacio-Guzman/CSI-Pyth…
CSI-Ignacio-Guzman Nov 18, 2021
bb5d08d
Update expermentaldata.py
CSI-Ignacio-Guzman Nov 18, 2021
81b3e19
Merge branch 'CSI-Carlos-Cobian:main' into main
CSI-Ignacio-Guzman Jan 20, 2022
f9bf77e
smc s
CSI-Ignacio-Guzman Jan 20, 2022
5ea04ad
nuev
CSI-Ignacio-Guzman Jan 24, 2022
6c65162
Merge branch 'main' of https://github.com/CSI-Ignacio-Guzman/CSI-Pyth…
CSI-Ignacio-Guzman Jan 24, 2022
d03992d
Update igancio-guzman-hangman.py
CSI-Ignacio-Guzman Jan 28, 2022
b44085d
Merge branch 'CSI-Carlos-Cobian:main' into main
CSI-Ignacio-Guzman Feb 1, 2022
7f50432
Update igancio-guzman-hangman.py
CSI-Ignacio-Guzman Feb 9, 2022
bda573b
Merge branch 'main' of https://github.com/CSI-Ignacio-Guzman/CSI-Pyth…
CSI-Ignacio-Guzman Feb 9, 2022
d322b36
Create Ignacio-Guzman.snake.py
CSI-Ignacio-Guzman Feb 17, 2022
6331fda
Update Ignacio-Guzman.snake.py
CSI-Ignacio-Guzman Feb 24, 2022
32df139
Update Ignacio-Guzman.snake.py
CSI-Ignacio-Guzman Feb 28, 2022
0de88ce
Update Ignacio-Guzman.snake.py
CSI-Ignacio-Guzman Mar 8, 2022
8831102
Update Ignacio-Guzman.snake.py
CSI-Ignacio-Guzman Mar 8, 2022
849ccfe
Merge branch 'CSI-Carlos-Cobian:main' into main
CSI-Ignacio-Guzman Mar 14, 2022
75b7b23
Merge branch 'CSI-Carlos-Cobian:main' into main
CSI-Ignacio-Guzman Mar 16, 2022
f0751e4
Merge branch 'CSI-Carlos-Cobian:main' into main
CSI-Ignacio-Guzman Mar 23, 2022
c229a08
dos
CSI-Ignacio-Guzman Mar 23, 2022
32d635b
Merge branch 'main' of https://github.com/CSI-Ignacio-Guzman/CSI-Pyth…
CSI-Ignacio-Guzman Mar 23, 2022
40e24be
dos
CSI-Ignacio-Guzman Mar 23, 2022
0ec0bfd
Merge branch 'CSI-Carlos-Cobian:main' into main
CSI-Ignacio-Guzman Apr 4, 2022
ad7be70
leve
CSI-Ignacio-Guzman Apr 4, 2022
57bed27
Merge branch 'main' of https://github.com/CSI-Ignacio-Guzman/CSI-Pyth…
CSI-Ignacio-Guzman Apr 4, 2022
96f2c8c
Create web-scrapinng2.py
CSI-Ignacio-Guzman Apr 8, 2022
6fe4295
n n
CSI-Ignacio-Guzman Apr 8, 2022
6128fbd
km
CSI-Ignacio-Guzman Apr 8, 2022
168721f
jn
CSI-Ignacio-Guzman Apr 8, 2022
84d9fc5
3
CSI-Ignacio-Guzman Apr 8, 2022
adcc6d6
msms
CSI-Ignacio-Guzman Apr 8, 2022
c706c8d
4
CSI-Ignacio-Guzman Apr 21, 2022
9381951
44
CSI-Ignacio-Guzman Apr 21, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added .DS_Store
Binary file not shown.
8 changes: 8 additions & 0 deletions ASCII Initials.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
print("""
IIIII A GGGGGGGGGGGGGG L
I A A GG L
I AAAAAAA GGG GGGGGGGG L
I A A GGG L
I A A GGGGGGGGGGGGGGGG LLLLLLLLLLB
IIIII
""")
Binary file added Modules/.DS_Store
Binary file not shown.
4 changes: 2 additions & 2 deletions Modules/Module1/Module1.md
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ You may update both simultaneously from Visual Studio by selecting.

What is the difference between Git and GitHub?

- Answer:
- Answer:The difference between Git and GitHub is that Git

What is the difference between a git commit and a git push?

Expand All @@ -193,7 +193,7 @@ What is the difference between a pull, and an upstream pull?

What part of these instructions was unclear or incomplete?

- Answer:
- Answer:none

Type down any class notes below this sentence:

Expand Down
13 changes: 8 additions & 5 deletions Modules/Module3/Module3.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,24 +96,27 @@ print(type(age))

What is the difference between "42" and 42.

- Answer:
- Answer: String and Intiger

Define the boolean operators: >, <, ==, >=, <=

- Answer:
- \

How do you address an index in an list? Write a python code that assigns 34 to a new variable by accessing the value stored in:
arr = [4, 3, -1, 4, 34]

- Answer:
- Answer: arr = [4, 3, -1, 4, 34]
>>> arr [4]
34

What is the first index of a list? Why?

- Answer:
- Answer:0
Because of the binary code

Provide an original example of a null value. It must prove your understanding of the concept.

- Answer:
- Answer: My grade is null.

Type down any class notes below this sentence:

Expand Down
30 changes: 30 additions & 0 deletions Modules/Module4/Ignacio-Guzman-Ticketera.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@

print("Welcome to Rauw Alejandro Concert")
print("The cost of each seat is a follow: VIP= 200$, Arena/Nivel Principal = 95$, Club Seat = 85$")

VIP = int(input("How many tickets sold for VIP?"))

ArenaNivelPrincipal = int(input("How many tickets sold for Arena/Nivel Principal?"))

ClubSeats = int(input("How many tickets sold for Club Seat?"))



def TicketsSold(VIP, ArenaNivelPrincipal, ClubSeats):
print(f"The cost of all of the VIP tickets sold were: {int(VIP) * 200}")
print(f"The cost of all of the Arena/Nivel Principal tickets sold were: {int(ArenaNivelPrincipal) * 95}")
print(f"The cost of all of the Clubs Seat tickets sold were: {int(ClubSeats) * 85}")



TicketsSold(VIP, ArenaNivelPrincipal , ClubSeats)
sold_VIP = VIP * 183
sold_ANP = ArenaNivelPrincipal * 160
sold_CL = ClubSeats * 150


def TicketsTotal(sold_VIP, sold_ANP, sold_CL):
print(f"The total of tickets sales is: {int(sold_VIP) + int(sold_ANP) + int(sold_CL)}")


TicketsTotal(sold_VIP, sold_ANP, sold_CL)
6 changes: 4 additions & 2 deletions Modules/Module4/Module4.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ def greetStudent(name):
greetStudent(name)
```
>José D. Quintana Rivera

def greetstudent(name):
print(f"Hello{name}!")
<br>


Expand Down Expand Up @@ -136,7 +137,7 @@ Evaluate the following code. Is the code written correctly? What would be the co
print('This message has a syntax error!")
print(Churrigueresco)

- Answer:
- Answer: C

Evaluate the following code. Is the code written correctly? What would be the correct code?
someNumber=360
Expand All @@ -149,6 +150,7 @@ Define a function that takes 2 or more string parameters and prints a single lin

- Answer:




Refer to this documentation webpage and google for the exercises below:
Expand Down
17 changes: 17 additions & 0 deletions Modules/Module4/Module4.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# print("What did you have for breakfest?")
# meal = "waffles"
# print(meal)
# print("What was your lunch?")
# meal = "Chicken Tenders"
# print("What was your dinner?")
# meal = "Hamburger with fries"
# print(meal)
def greetstudent(name):
print(f"Hello{name}"!")
greetstudent(Ignacio Guzman)

myName:str = "Ignacio Guzman"
myAge:int = 15

width = int(input(" What is the width of the square:"))
myheigh =
35 changes: 35 additions & 0 deletions Modules/Module5/Boolean expresions.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
import random
print("Welcome to rock paper scissors game")
RPS = ["rock", "paper", "scissors"]

playerChoice = input("Lets play . Choose one: rock, paper, scissors")

computerChoice = random.choice(RPS)
print(f"Computer selected: {computerChoice}")
print(f"Player selected: {playerChoice}")

if(playerChoice == computerChoice):
print("You tied")

elif(playerChoice == "rock" and computerChoice == "scissors"):
print("rock crushes scissor. You Win!")

elif(playerChoice == "rock" and computerChoice == "paper"):
print("You Lost")

elif(playerChoice == "paper" and computerChoice == "rock"):
print("You Won")

elif(playerChoice == "scissors" and computerChoice == "paper"):
print("You Won")

elif(playerChoice == "scissors" and computerChoice == "rock"):
print("You Lost")

elif(playerChoice == "paper" and computerChoice == "scissors"):
print("You Lost")

else:
print("something isnt right, maybe try again")


33 changes: 33 additions & 0 deletions Modules/Module5/Ignacio-Guzman-magic.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
import random
print("Welcome to the Magic 8-Ball Game")
Player_name = input("What is your name?")
print(f"Hello {Player_name} ! Welcome to the Magic 8-Ball Game")
Player_question = input ("What do you want to ask me?")
print(f"{Player_name} ask {Player_question}")
random_number = random.randint(1,12)
if random_number == 1 :
print("Yes - definitely")
elif random_number == 2:
print("It is decidebly so.")
elif random_number == 3:
print("Without a doubt")
elif random_number == 4:
print("Reply hazy, tray again.")
elif random_number == 5:
print("Ask Again Later")
elif random_number == 6:
print("Better not tell you now.")
elif random_number == 7:
print("My sources say NO.")
elif random_number == 8:
print("Outlook not so good.")
elif random_number == 9:
print("Very doubtful.")
elif random_number == 10:
print("Not Today")
elif random_number == 11:
print("I think so")
elif random_number == 12:
print("Tomorrow")
else:
print("There was an error")
11 changes: 11 additions & 0 deletions Modules/Module5/Ignacio-Guzman-simpsonshipping.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
print("Welcome to Simpson Shipping")
weight:float = float(input("What is the weight of your package:"))
#ground shipping
if (weight == 2 and weight < 2):
cost_ground = 2 and weight * 1.75 + 20
print("Ground Shipping $", float(cost_ground))
elif (weight == 2 > )




12 changes: 9 additions & 3 deletions Modules/Module5/Module5.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,15 @@ print(f"Computer selected: {computerChoice}")
Give a python example for each logic operator in the module image.

- Answers:
- OR:
- AND:
- NOT:
- OR: X = 35
if(x > 20 or x < 30)
print("your number is 25"):
- AND: candies = 6
if(candies > 7 or < 5 )
print("you have little candies"):
- NOT: X = 32
if not (x > 29 and x < 32):
print("Your number is 32"):


Type down any class notes below this sentence:
Expand Down
Binary file added Modules/SourceTree/.DS_Store
Binary file not shown.
8 changes: 8 additions & 0 deletions Projects/ASCII Initials.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
print("""
IIIII A GGGGGGGGGGGGGG L
I A A GG G L
I AAAAAAA GGG L
I A A GGG L
I A A GGGGGGGGGGGGGGGG LLLLLLLLLL
IIIII
""")
63 changes: 63 additions & 0 deletions Projects/Ignacio-Guzman-Hangman.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
import random
word_list = ["buchipluma", "guasibiri", "glopeta", "acicalao", "masucamba", "sandungueo", "pichaera",
"feca", "blinblineo", "banshee" ]
def display_hangman(tries):
stages = [ """
--------
| |
| O
| /|\\
| |
| / \\
-
""",
"""
--------
| |
| O
| /|\\
| |
| /
-
""",
"""
--------
| |
| O
| /|\\
| |
|
-
""",
""""
--------
| |
| O
| /|
| |
|
-
""",
"""
--------
| |
| O
| |
| |
|
-
""",
"""
--------
| |
| O
|
|
|
-
""",
"""
--------
| |
|
|
8 changes: 8 additions & 0 deletions Projects/Ignacio-Guzman-Jump.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
planets = ["Mercury" , "Venus"]
rel_gravity = [2.65, 1.11, 1, 2.64, 0.40, 0.94, 1.13, 0.88]

print("Jumpion on a diffrent planet ")
Jump = float(input("What is your jump length? (meters)? ")
Planet = input(f"Choose a planet: {planets}")

defcalculate lenght
1 change: 1 addition & 0 deletions Projects/Ignacio-Guzman-space.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

22 changes: 22 additions & 0 deletions Projects/Ignacio-Guzman.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
planets = ("Mercury", "Venus", "Earth","Mars", "Jupiter","Saturn","Uranus" , "Neptune")
g_ms2 = [3.7, 8.87 ,9.81, 3.711, 24.79, 10.44 , 8.69, 11.5]

print("Calculate your weight in a diffrent planet")

myWeigh = int(input("What is your weight (pounds)?")
myplanet = input(f"Select a planet from the list: {Planets}")

def calculateWeight(planet, mass ) :
print(f"/nEarth mass in pounds is : {mass})

w_kg= mass / 2.2046
print(f"Mass in kg : {w_kg}")

n_lb = 4.45

planet_index = planet.index(planet)
print(f"Weight in {planets[planet_index]}mmis {w_kg * g_ms[planet_index]) / n_lb} lb")


calculateWeight(myPlanet , myWeigh)

Loading