DEV Community

Devansh Tayal
Devansh Tayal

Posted on


Output for this Python code

Underscores in numbers....

bigger_number= 14_000_000_000

1-> print(bigger_number)
2-> print (type(bigger_number))

Top comments (3)

mohanchhabaria profile image
Mohan Chhabaria

This convention is used for big integers so that they are easier to read. It allows to divide digits with a single underscore.
Coming on to output. The number will be handled as an integer only, so the output will be :

  1. 14000000000
  2. int
envoy_ profile image
Vedant Chainani


harshal11 profile image

The output of the above lines code is as follows:
1-> print(bigger_number)
output ==> 14000000000
2-> print(type(big_number))
output ==>

Timeless DEV post...

Git Concepts I Wish I Knew Years Ago

The most used technology by developers is not Javascript.

It's not Python or HTML.

It hardly even gets mentioned in interviews or listed as a pre-requisite for jobs.

I'm talking about Git and version control of course.

One does not simply learn git