Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7524907
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T03:11:18+00:00 2026-05-30T03:11:18+00:00

I was told by a professor that dividing by zero or taking a negative

  • 0

I was told by a professor that dividing by zero or taking a negative square root in Python crashes if you do it in Windows 98.

This seems ridiculous since Python is an interpreted language, but I don’t have a way to verify this, and Windows is notorious… Can anyone confirm or deny the claim? If so, does it have to do with the fact that Python is written in C? (And would C really crash the whole OS for division by zero!?)

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T03:11:19+00:00Added an answer on May 30, 2026 at 3:11 am

    It should result in a ZeroDivisionError exception. I can’t imagine why this would be different in Windows 98.

    >>> 1/0
    Traceback (most recent call last):
      File "<stdin>", line 1, in <module>
    ZeroDivisionError: integer division or modulo by zero
    

    What a remarkable waste of time.

    Under Win98 with Python 2.3.5

    Python 2.3.5 (#62, Feb  8 2005, 16:23:02) [MSC v.1200 32 bit (Intel)] on win32
    Type "copyright", "credits" or "license()" for more information.
    
        ****************************************************************
        Personal firewall software may warn about the connection IDLE
        makes to its subprocess using this computer's internal loopback
        interface.  This connection is not visible on any external
        interface and no data is sent to or received from the Internet.
        ****************************************************************
    
    IDLE 1.0.5      
    >>> import sys
    >>> sys.getwindowsversion()
    (4, 10, 67766446, 1, ' A ')
    >>> sys.version_info
    (2, 3, 5, 'final', 0)
    >>> 1/0
    
    Traceback (most recent call last):
      File "<pyshell#3>", line 1, in -toplevel-
        1/0
    ZeroDivisionError: integer division or modulo by zero
    >>>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am taking a class in C++ programming and the professor told us that
A reliable coder friend told me that Python's current multi-threading implementation is seriously buggy
I've always been told that adding an element to an array happens like this:
My professor told us that we could choose a programming language for our next
This is a (hopefully) really simple question - I have been told recently that
I have been told by a professor that you can get a file's last
Someone told me about swamp diagrams explaning that they were useful to predict code
Someone told me that it's faster to concatenate strings with StringBuilder. I have changed
Someone told me that openGL is for graphic only, and that it's very bad
Someone told me to do this in order to keep track of latest people

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.