GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — PythonIBM/Ejercicio_condicionales.py at master · 1975Pepe/PythonIBM

Expand file tree

/

Ejercicio_condicionales.py

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
22 lines (17 loc) · 325 Bytes
/

Ejercicio_condicionales.py

Copy path

File metadata and controls

22 lines (17 loc) · 325 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
a = 10
b = 15
if a > b:
print('a es mayor que b')
else:
print('a no es mayor que b')
a = 10
b = 3
if a > b:
print('Se ha cumplido la condición')
else:
print('No se ha cumplido la condición')
print('Ya estamos fuera del if')
# expresión condicional u operador ternario
a = 28
b = 25
10 if a > b else 5
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.