Category Archives: Programming

Java Programming Recap In Sha Allah

Mission Machine Learning

Pagerank Algorithm Eigenvalue


Square Matrices



Geometric Interpretation




For Loops in Python






Python String formatting

Playing With String in Function of Python

With First letter capital:

Converting string to int:

For Python 1 and 2



Python String Input Need To Clear From Internet


Python Function Calling







  • Check if a value is of a certain type with:
  1. isinstance(“abc”, str)
  2. isinstance([1, 2, 3], list)


  1. type(“abc”) == str
  2. type([1, 2, 3]) == lst

Python Function


Positive/Negative Indexes, Slicing of Tuples


Working with lists and append

Question:Append the first item of weekend to workdays



Dictionary in Python

Assign a dictionary variable day_temperatures.The dictionary should contain three keys ‘morning’,’noon’and evening and each key should containa tuple as value. each tuple should contain three floats.



Difference between tuple and list in python


OOP concept clearings from some MOOC courses





Started My Java Revise and Python Learning

Need to revise everything.

Interface in C# + abstract in C#

Interface always starts with I . It is the naming convention.


In a more basic way to explain: An interface is sort of like an empty muffin pan. It’s a class file with a set of method definitions that have no code.

An abstract class is the same thing, but not all functions need to be empty. Some can have code. It’s not strictly empty.

Why differentiate: There’s not much practical difference in Python, but on the planning level for a large project, it could be more common to talk about interfaces, since there’s no code. Especially if you’re working with Java programmers who are accustomed to the term.

shareimprove this answer


Explicit Interface Implementation:


Interface vs Abstract



Collection Initializer