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

  • Home
  • SEARCH
  • 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 8044407
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T05:13:09+00:00 2026-06-05T05:13:09+00:00

I am new to Python and I need to use it as a calculator

  • 0

I am new to Python and I need to use it as a calculator for a lab report. I am using it simply as a calculator, for the convenience and easy debugging that comes with scripting languages. I typed this into the python shell, but, for some reason when I press enter, it just starts a new line. This only happens in the last line. Am I using the wrong syntax?

mCupWater = 131.6

mCupWaterIce = 153.1

mITemp = 49

mFTemp = 29

mCup = 3.7

mWater = mCupWater – mCup

c = 4.181

mIceWater = mCupWaterIce – mCup

l = ((mWater * c * (mITemp – mFTemp)) – (mIceWater * c * (mFTemp)) / (mIceWater)

  • 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-06-05T05:13:10+00:00Added an answer on June 5, 2026 at 5:13 am

    You’re missing a closing ). There is implicit line continuation within parentheses, brackets and braces.

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

Sidebar

Related Questions

I am new to python and am using it to use nltk in my
I am completely new to python but I found a package that I need
I am very new to matlab and python and need to use some values
I am very new to Python. I need to run diff.py(a python in built
I would need some help in python. I'm new in python. I used to
I'm a new Python programmer who is having a little trouble using 'self' in
New to Python, have a simple, situational question: Trying to use BeautifulSoup to parse
I am new to Python and Numpy, and I am facing a problem, that
I need to use a thread pool in python, and I want to be
I'm new to Python completely and am using Python 3.1 on Windows (pywin). I

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.