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 — One more type conversion · Ligala1/python_intro@93705be

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • python_lesson2_python_basics
    • lesson2_part4_conditions.ipynb
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎python_lesson2_python_basics/lesson2_part4_conditions.ipynb‎

Copy file name to clipboardExpand all lines: python_lesson2_python_basics/lesson2_part4_conditions.ipynb
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@
187187
}
188188
],
189189
"source": [
190-
"a = input(\"Insert a number: \")\n",
190+
"a = int(input(\"Insert a number: \"))\n",
191191
"print(str(a) + \" is \" + (\"even\" if a % 2 == 0 else \"odd\"))"
192192
]
193193
},

0 commit comments

Comments
0 (0)
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.