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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T13:20:46+00:00 2026-06-15T13:20:46+00:00

One thing has been fascinating me since long time. In languages like c, we

  • 0

One thing has been fascinating me since long time. In languages like c, we need to declare the data types for example, integer as int, character as char, etc. I mean we are giving information about the data type to the C compiler.
But in python, lets say i declare

c = 2  

Then the compiler interprets c as integer. And if i declare

c = "a"  

the compiler interprets c as a character. My doubt is how compiler knows how to assign appropriate data type to c without us explicitly declaring it. This may be a basic question for python experts, but shed some light on this

  • 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-15T13:20:48+00:00Added an answer on June 15, 2026 at 1:20 pm

    Python is a dynamically typed language.

    The compiler doesn’t interpret any type information when compiling python code. It’s all just objects with methods, and it’s up to your own code to use the values as it pleases.

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

Sidebar

Related Questions

It has been a long time since I have written XSL, I have this
I know this topic has been discussed to death, but there is one thing
One of the thing that has been confusing for me while learning C++ (and
I am relatively new to Django and one thing that has been on my
This is one thing that has been bugging me for a while about DDD.
Let's say I want something only to be executed when one thing has been
There's this one thing in C++ which has been making me feel uncomfortable for
I am relatively new to Xcode and one thing that has bothered me is
One thing I have continually found very confusing about using an object database like
One thing that has driven me nuts about SharePoint2007 is the apparent inability to

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.