You are not logged in. Please login at to post your questions!


Worried with Python as my main language

Hi , I have started competitive coding recently and use python as my language to solve any problem when i first was confronted by a TLE i got to know that nobody actually uses python to code in cp so i am getting worried to shift to different language as i am comfortable with python? please suggest me that can i use python as my main language or shift to c++14

asked 30 May '18, 10:46

dubeysarvesh's gravatar image

accept rate: 0%

C++ is a great language for competitive programming because of its fast speed, memory management, pointerss etc. Moreover C++ has STL(Standard Temporary Library) which has a great collection of data structures and algorithms and makes many algorithm easier to code. Python is a scripting language, though you can use it for CP(due to its abstract libraries). But python isn't allowed in many CP competitions like IOI. I suggest you shift to C++ in the beginning only as you would be comfortable later. My experience with c++ is great.


answered 30 May '18, 10:59

ssp547's gravatar image

accept rate: 25%

toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported
  • mathemetical formulas in Latex between $ symbol

Question tags:


question asked: 30 May '18, 10:46

question was seen: 170 times

last updated: 30 May '18, 10:59