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 6347949
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T21:19:28+00:00 2026-05-24T21:19:28+00:00

Can a working factorial function/operator be defined with a syntax like in mathematics? i.e.

  • 0

Can a working factorial function/operator be defined with a syntax like in mathematics? i.e. using the ! symbol.

I can’t think of any use cases of the existing symbol where things could be ambiguous

  • ipython !shell_escape always has the bang at the start of a line
  • something like 0!=1 would be True as usual because the other interpretation of factorial(0) = 1 would be SyntaxError: can't assign to literal or similar error)
  • 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-24T21:19:29+00:00Added an answer on May 24, 2026 at 9:19 pm

    If you mean, “can I define the ! operator in my Python program?,” the answer is no, Python doesn’t have a bang operator that can be defined.

    If you mean, “could Python be extended to include a ! operator?,” the answer is yes, though probably not as a postfix operator like x!. I very much doubt that the Python community would agree it was a good idea and move ahead with it though.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Any way I can get this working? I have a block of code: <p><a
I am using this for my password matching but it is not working can
Hi I want to know how I can working using c# application with yahoo
Can a PHP script (which can be working with a MySQL DB) send and/or
Background - I can get HttpListener working fine for HTTP traffic. I'm having trouble
I have a (from what I can tell) perfectly working Linux setup (Ubuntu 8.04)
runat=server /> But this code is not working How can I add multiple controls
I have a form in witch users can add their working hours view them
Can someone provide a working example in which stored procedure returns a recordset and
I can't get this working for the life of me. Here is a snippet

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.