# Tra cứu code Python, C++ và Pascal ## Cấu trúc chương trình ### Python ``` python= print("Hello world"); ``` #### Data types and variable #### Arithmetic operations #### Data input/output #### Data type conversion #### Conditional elements #### Loops #### Strings 1. ###### Input / output ```python= print("Hello world.") ``` 3. ###### Concatenate, insert, remove 4. ###### Loop through string’s chars 5. ###### Find and replace 6. ###### Split and join 7. ###### Uppercase, lower, title, trim, snip #### List / Array / Vector 1. ###### The basics 1. ###### Manipulation #### Multi-dimensional array #### Functions / Procedures 1. ###### Declaration 1. ###### Implementation 1. ###### Passing values & passing references #### Map / dictionary 1. * ###### Declaration 1. * ###### Initialization 1. * ###### Loop through elements 1. * ###### Manipulation: add, remove, check a key for existence, find #### Set ### C++ ``` c++= #include iostream; using namespace std; int main { int n = 5; double x = -2.5; string s = "ucode.vn"; cout << n << endl << x << endl << s << endl; } ``` ### Pascal ``` pascal= T = int(input()) writeln(T);
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up