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 — PythonMath/PythonMath.py at main · novaTopFlex/PythonMath

Expand file tree

/

PythonMath.py

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
11 lines (11 loc) · 586 Bytes
/

PythonMath.py

Copy path

File metadata and controls

11 lines (11 loc) · 586 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
print("The absolute value of the number -1 is: " + str(abs(-1)))
print("The binary interpretation of the decimal number 896 is: " + bin(896))
print("The binary interpretation of the octal number 777 is: " + bin(0o777))
print("The binary intrepretation of the hexadecimal number face is: " + bin(0xface))
print(str(bool(1)) + " should result in True.")
print(str(bool(0)) + " should result in False.")
print(str(bytes(7)) + " is intended to represent seven bytes.")
print(callable(print)) # True
print(callable(bytes)) # True
print(callable(bytearray)) # True
print(callable(0)) # False
You are visitor 01402503 — 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.