Intro
1. Data Fundamentals
2. Array-Like Structures
3. Dictionaries
4. Sets
5.Queues
6. Stacks
7. Practice Using Data Structures in Python Applicatios
8. Glossaries
9. Conclusion

Intro

How to use CoderPad

How to Use GitHub Codespaces

1. Data Fundamentals

What is data ? /
data point
data types – numbers , letters , true/false
แบ่ง classify different pieces of data based on – their value
whole numbers -value ทุก whole number รห lower / upper limit
operation wise : +-*/ compare
python มี 4 primitive data types – int ,float , boolean , string
whole nubmer อยู่ใน int
find type of data – print(type(x))
data type ของ python ไม่ explicity c syntax เหมือนภาษาอื่น , เรียกว่า implicit

2. Array-Like Structures

3. Dictionaries

4. Sets


5.Queues


6. Stacks
7. Practice Using Data Structures in Python Applicatios
8. Glossaries
9. Conclusion

::: data type of what languges , is implicit

the concept of implicit data types in programming refers to situations where the data type of a variable is not explicitly declared, and the compiler or interpreter infers the type automatically from the context (such as the assigned value).

Here are common programming languages that support implicit typing, along with a short note:


🟢 Languages that support implicit data typing

LanguageExampleNotes
Pythonx = 10Dynamically typed, inferred at runtime
JavaScriptlet x = "hello"Dynamically typed
TypeScriptlet x = 5Supports both implicit and explicit typing
Gox := 42Uses := for short variable declaration with type inference
Rustlet x = 3.14;Type inferred, but can also be explicitly declared
Swiftvar name = "John"Strongly typed, with type inference
Kotlinval age = 30Strongly typed, with inference
Scalaval name = "Alice"Supports both styles
Haskellx = 42Pure functional, types inferred by compiler
Dartvar x = 10;Type inferred at compile time
Juliax = "data"Dynamically typed, types inferred at runtime
F#let x = 3Type inference with option for explicit typing
Rubyx = 5Dynamically typed, type inferred at runtime
Perl$x = 10;Dynamically typed
PHP$x = "text";Dynamically typed

🔴 Languages that require explicit type declarations (no implicit typing by default)

LanguageExampleNotes
Cint x = 5;Must declare type
C++int x = 5;Though auto enables some type inference
Javaint x = 10;Java 10+ allows var, but otherwise explicit
C#var x = 10;Implicit type allowed using var, but still statically typed
Pascalvar x: Integer;Requires type declaration

✅ Summary

  • Implicit typing is typical in dynamic or modern statically typed languages with type inference.
  • Explicit typing is required in older or low-level statically typed languages.

Discover more from อรรถพรคลินิก ศัลยกรรมตกแต่ง Attaporn Plastic Surgery clinic 阿塔蓬博士,曼谷整形外科医生

Subscribe now to keep reading and get access to the full archive.

Continue reading