<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Forem: Mary-softeng</title>
    <description>The latest articles on Forem by Mary-softeng (@marysofteng).</description>
    <link>https://forem.com/marysofteng</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F672587%2F8f02d0a0-5037-4a56-bde6-b7b2a29721dd.jpg</url>
      <title>Forem: Mary-softeng</title>
      <link>https://forem.com/marysofteng</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/marysofteng"/>
    <language>en</language>
    <item>
      <title>Infrastructure Design for Credit Risk Modeling</title>
      <dc:creator>Mary-softeng</dc:creator>
      <pubDate>Fri, 10 Apr 2026 09:11:46 +0000</pubDate>
      <link>https://forem.com/marysofteng/infrastructure-design-for-credit-risk-modeling-2ee7</link>
      <guid>https://forem.com/marysofteng/infrastructure-design-for-credit-risk-modeling-2ee7</guid>
      <description>&lt;h2&gt;
  
  
  Common Problems Leading Institutions Face when Building Scorecards
&lt;/h2&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;One version of the truth.&lt;/strong&gt; Two people asking the same question, or repeating the same exercise should get the same answer. One way to achieve this is by sharing and reusing data sources, data extraction logic, conditions such as filters and segmentation logic, models, parameters and variables, including logic for derived ones.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Transparency and audit.&lt;/strong&gt; Anyone who needs to see details on each phase of the development process should be able to do so easily. For example, how data is transformed to create aggregated and derived variables, the parameters chosen for model fitting, how variables entered the model, validation details, and other parameters should preferably be stored in graphical user interface (GUI) format for review.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Retention of corporate intellectual property (IP)/knowledge.&lt;/strong&gt; Practices such as writing unique code for each project and keeping it on individual PCs makes it harder to retain IP when key staff leave. Using programming-based modeling tools makes it more difficult to retain this IP as staff leaving take their coding skills with them. To counter this, many financial institutions have shifted to GUI software to reduce this loss and to introduce standardization.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Integration across the model development tasks.&lt;/strong&gt; Integration across the continuum of activities from data set creation to validation, means that the output of each phase seamlessly gets used in the next.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Faster time to results.&lt;/strong&gt; It sometimes takes months to build a model and implement it in many institutions, resulting in the use of inefficient or unstable models for longer than necessary.&lt;/p&gt;
&lt;/blockquote&gt;

</description>
      <category>scorecard</category>
      <category>analytics</category>
      <category>bigdata</category>
      <category>machinelearning</category>
    </item>
    <item>
      <title>The Human Blueprint of a Winning Scorecard</title>
      <dc:creator>Mary-softeng</dc:creator>
      <pubDate>Fri, 27 Mar 2026 12:11:15 +0000</pubDate>
      <link>https://forem.com/marysofteng/the-human-blueprint-of-a-winning-scorecard-4h2b</link>
      <guid>https://forem.com/marysofteng/the-human-blueprint-of-a-winning-scorecard-4h2b</guid>
      <description>&lt;h2&gt;
  
  
  Overview
&lt;/h2&gt;

&lt;blockquote&gt;
&lt;p&gt;Have you ever encountered a situation where a very scorecard which is fully developed, is rejected by an organization due to one or two variables are not usable due to incompatibility with their current systems?&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;In order to ensure that there is smooth development and implementation of a scorecard, the collaboration between IT, risk management(strategy and policy), modeling, validation, and operational staff is crucial.&lt;/p&gt;

&lt;p&gt;This collaboration not only creates better scorecards, it also ensures that the solutions are consistent with business direction, prevent surprises, and enable education and knowledge transfer during the development process.&lt;/p&gt;

&lt;p&gt;Development of scorecards in isolation can lead to problems such as inclusion of characteristics that are no longer collected, legally suspect, or difficult to collect operational, exclusion of operationally critical variables, and devising of strategies that result that are unimplementable.&lt;/p&gt;

&lt;p&gt;Different personas are involved in a scorecard development and implementation and their level of involvement varies and different staff members are required at various key stages of the process&lt;/p&gt;

&lt;h2&gt;
  
  
  Scorecard Development Roles
&lt;/h2&gt;

&lt;p&gt;The following participants are required:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1.&lt;/strong&gt; &lt;strong&gt;Scorecard Developer&lt;/strong&gt; - This is a person who performs the statistical analysis needed to develop scorecards.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Requirements&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Some business knowledge of the product/tasks for which models are being developed&lt;/li&gt;
&lt;li&gt;An in-depth kwoledge of various databases in the company and the data sets being used.&lt;/li&gt;
&lt;li&gt;An in-depth understanding of statistical principles, in particular those related to predictive modeling. E.g, knowledge of logistic regression, fit statistics, multicollinearity, decision trees and so on.&lt;/li&gt;
&lt;li&gt;A good understanding of the legal and regulatory requirements of models and of the model development process. This includes documentation requirements, transparency, and any laws that control the usage of certain information.&lt;/li&gt;
&lt;li&gt;Business experience in the implementation and usage of risk models. This is related to the business knowledge of the product.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;2.&lt;/strong&gt; &lt;strong&gt;Data Scientist&lt;/strong&gt; - This is a person who helps source and extract the required records and field of information in order to populate the scorecard development database.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Requirements&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;An in-depth knowledge of the various databases in the company , and the data sets being used.&lt;/li&gt;
&lt;li&gt;Proficiency in the tools and systems to determine and document data lineage, to perform field-specific code mappings to common values and definitions from a variety of internal legacy transaction systems and external data reporters.&lt;/li&gt;
&lt;li&gt;Ability to merge information from disparate sources and perform necessary preprocessing to deal with data issues, such as undefined codes, missing information or extreme values.&lt;/li&gt;
&lt;li&gt;Familiarity with file formats and fields of information available from the different credit bureaus, rating agencies, and other third-party data providers.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;3.  Product or Portfolio Risk Manager/Credit Scoring Manager&lt;/strong&gt; - Risk managers are responsible for management of the company's portfolio and usage of scorecards. They are usually responsible for creation policies and strategies for approvals, credit limit setting, collections statement and pricing&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Requirements&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Subject matter expertise in the development and implementation of the risk strategies using scores.&lt;/li&gt;
&lt;li&gt;An in-depth understanding of corporate risk policies and procedures.&lt;/li&gt;
&lt;li&gt;An in-depth understanding of the risk profile of the company's customers and applicants for the products/services.&lt;/li&gt;
&lt;li&gt;A good understanding of the various implementation platforms for risk scoring and strategy implementation in the company.&lt;/li&gt;
&lt;li&gt;Knowledge of legal issues surrounding usage of particular characteristics/processes and adjudicate credit applications.&lt;/li&gt;
&lt;li&gt;Knowledge of credit application processing and customer management processes in the company.&lt;/li&gt;
&lt;li&gt;Knowledge of roll rate models; delinquency trends by product, region and channel; and reports and the average time to change-off.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;4. Product Manager(s)&lt;/strong&gt; - Is responsible for the management of the company's product(s) from marketing or customer retention perspective&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Requirements&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Subject matter expertise in the development and implementation of product-marketing strategies.&lt;/li&gt;
&lt;li&gt;An in-depth knowledge of the company's typical client base and target markets, including its best/most valued customers.&lt;/li&gt;
&lt;li&gt;Knowledge of future product development and marketing direction.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;5. Operational Manager(s)&lt;/strong&gt; - Is responsible for the management of departments such as Collection, Application Processing, Adjudication (when separate from Risk Management), and Claims. Any strategy developed using scorecards, such as changes to cutoff levels, will impact these departments.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Requirements&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Subject matter expertise in the implementation and execution of corporate strategies and procedures.&lt;/li&gt;
&lt;li&gt;An in-depth knowledge of customer-related issues.&lt;/li&gt;
&lt;li&gt;Experience in lending money.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;6. Model Validation/Vetting Staff&lt;/strong&gt; &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Requirements&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;A good understanding of the mathematical and statistical principles employed in scorecard development&lt;/li&gt;
&lt;li&gt;In-depth knowledge of corporate model validation policies, all relevant regulations, and the expectations of banking regulation agencies.&lt;/li&gt;
&lt;li&gt;Real-life experience in developing risk models and scorecards in financial institutions.&lt;/li&gt;
&lt;li&gt;A good understanding of the banking business.&lt;/li&gt;
&lt;li&gt;A good understanding of the data within the bank.&lt;/li&gt;
&lt;/ul&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Dysfunctional Scorecard Development Process Usually have:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Model developers who work in isolation , employ black box processes, and don't share their knowledge with others.&lt;/li&gt;
&lt;li&gt;Risk management business staff who refuse to participate or are not invited to participate in the scorecard development process, nor share knowledge of how they use the scorecard and downstream decisions.&lt;/li&gt;
&lt;li&gt;Risk managements staff don't have even the most basic idea of how scorecards are developed.&lt;/li&gt;
&lt;li&gt;People afraid to make decisions because of vague accountabilities.&lt;/li&gt;
&lt;li&gt;Model validation staff who have never built a scorecard themselves. Model validation staff who ask the wrong questions and treat the development process as an academic exercise enable the production of statistically perfect but ultimately useless models.&lt;/li&gt;
&lt;li&gt;Model validation staff with no banking experience&lt;/li&gt;
&lt;li&gt;vague model validation processes and policies.&lt;/li&gt;
&lt;/ul&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;strong&gt;7. Project Manager&lt;/strong&gt; - Is responsible for the overall management of the project, including creation of the project plan and timelines, integration of the development and implementation processes, and management of other project resources.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Requirements&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Subject matter expertise in the management of projects.&lt;br&gt;
An in-depth understanding of the relevant corporate areas involved in the project.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;8. IT Managers&lt;/strong&gt; - They are responsible for management of various software and hardware products used in the company.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Requirements&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Subject matter expertise in the software and hardware products involved in risk management and risk scoring implementation.&lt;br&gt;
In-depth knowledge of corporate data, data governance policies and internal procedures to introduce changes to data processing.&lt;br&gt;
knowledge of processing data from external data providers.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;9. Enterprise Risk/Corporate Risk Management Staff (Where Applicable)&lt;/strong&gt; Enterprise risk departments are responsible for the management of both financial and operational risks at a corporate level (as opposed to the product level). They are also involved in capital allocation and oversight of the risk function&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Requirements&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Subject matter expertise on corporate policies on risk management and risk tolerance levels.&lt;/li&gt;
&lt;li&gt;In-depth knowledge of impacts on capital allocation/hedging, and so forth, of introductions to changes in risk adjudication.&lt;/li&gt;
&lt;li&gt;In-depth knowledge of actuarial practices.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;10. Legal Staff/ Compliance Manager&lt;/strong&gt; - Their work is to ensure that any proposed segmentation and scorecard characteristics is in contravention of existing laws and regulations.&lt;/p&gt;

&lt;h2&gt;
  
  
  Reference
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://github.com/thonyeh/Linear-Models/blob/master/Siddiqi%2C%20Naeem%20-%20Intelligent%20credit%20scoring%20_%20building%20and%20implementing%20better%20creditrisk%20scorecards%20(2017%2C%20Wiley).pdf" rel="noopener noreferrer"&gt;https://github.com/thonyeh/Linear-Models/blob/master/Siddiqi%2C%20Naeem%20-%20Intelligent%20credit%20scoring%20_%20building%20and%20implementing%20better%20creditrisk%20scorecards%20(2017%2C%20Wiley).pdf&lt;/a&gt;&lt;/p&gt;

</description>
      <category>scorecard</category>
      <category>analytics</category>
      <category>machinelearning</category>
      <category>bigdata</category>
    </item>
    <item>
      <title>A Condensed Look Inside the Credit Scoring Industry</title>
      <dc:creator>Mary-softeng</dc:creator>
      <pubDate>Thu, 26 Mar 2026 12:43:58 +0000</pubDate>
      <link>https://forem.com/marysofteng/a-condensed-look-inside-the-credit-scoring-industry-20d6</link>
      <guid>https://forem.com/marysofteng/a-condensed-look-inside-the-credit-scoring-industry-20d6</guid>
      <description>&lt;h2&gt;
  
  
  Key Terminologies
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Credit risk Scoring&lt;/strong&gt; is a tool used to evaluate the level of credit risk associated with  applicants or customers providing statistical odds, or probability  that an applicant with any given score will be &lt;em&gt;good or bad&lt;/em&gt;.&lt;br&gt;
Credit scoring  offer a quick and proven way to use the data , not just for reducing losses but also lead to greater profitability.&lt;br&gt;
&lt;strong&gt;Credit Score&lt;/strong&gt; is a digit (commonly 3 digits ranging from 200-900 depending on institution) that summarizes a customer's credit risk based on their credit report and it predicts how you manage your credit(debt) and it helps the lenders to assess the rusks upon lending.&lt;br&gt;
&lt;strong&gt;Scorecard&lt;/strong&gt; is a management tool that generates &lt;em&gt;credit score&lt;/em&gt; of an applicant based on their creditworthiness. It consists of a group of characteristics, statistically determined to be predictive in separating good and bad accounts. It can be developed In-house or outsourced.&lt;/p&gt;

&lt;p&gt;scorecards can also be defined based on the type of data used to develop them. &lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Custom&lt;/strong&gt; &lt;strong&gt;scorecards&lt;/strong&gt; are those developed using data for customers of one organization exclusively e.g., if a bank uses the performance data of its own customers to build  a scorecard to predict bankruptcy&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Generic or pooled data scorecards&lt;/strong&gt; are those built using data from multiple lenders. e.g., few banks which did not have enough data to build their own custom scorecards, they decide to pool their data for auto loans , build a scorecard with that data and share the scorecard or customize the scorecards based on unique characteristics of their portfolios.&lt;br&gt;
Also scorecards build using industry bureau data and marketed by credit bureaus such as [(&lt;a href="https://creditinfo.co.ke/)" rel="noopener noreferrer"&gt;https://creditinfo.co.ke/)&lt;/a&gt;], are types of generic scorecards.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h2&gt;
  
  
  Factors driving the increased use of scorecards
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Increased regulation.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Availability of greater educational material and training for developers&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Ease of access to sizable and reliable data&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Corporate knowledge management fostering retention and sharing of subject-matter expertise.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Efficiency and process improvement.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Creating value and boosting profitability.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Improved customer experience.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Examples of Scorecard Characteristics
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Demographics (e.g. age, postal code)&lt;/li&gt;
&lt;li&gt;Existing relationship (e.g. payment performance, product type)&lt;/li&gt;
&lt;li&gt;Credit bureau (e.g. inquiries, delinquencies) and so on.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Management reports produced during scorecard development
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;Gains chart 
It tells us the expected performance of the scorecard. 
An example of gains chart &lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fbh6he48c2lss7t03op7v.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fbh6he48c2lss7t03op7v.png" alt=" " width="800" height="174"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The above gains chart exhibits;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;The score bands which are arranged so that there are approximately 10% of accounts in each bucket. &lt;/li&gt;
&lt;li&gt;The marginal event rate (marginal bad rate) rank orders from a minimum of 0.2 percent to a maximum of about 15.7%. There is some variability between the bad rate based on counts and predicted bad rate from the model due to low counts.&lt;/li&gt;
&lt;li&gt;For the score range 163-172, for example, the expected marginal bad rate is 5.31%. This means 5.31% of the accounts that score in that range are expected to be bad.&lt;/li&gt;
&lt;li&gt;For all accounts above 163, the cumulative event rate is 2.45%. This would be the total expected bad rate of all applicants above 163.&lt;/li&gt;
&lt;li&gt;If we use 163 as a cutoff for an application scorecard, the acceptance will be about 70%.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Based on the outlined factors, a company can then decide , for example, to decline all applicants who score below 163, or charge them higher pricing in view of greater risk they present.&lt;/p&gt;

&lt;h2&gt;
  
  
  Strategies for high-risk applicants
&lt;/h2&gt;

&lt;p&gt;These strategies will maximize revenue and minimize bad debt&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Decline credit if the risk level is too high&lt;/li&gt;
&lt;li&gt;assign a lower starting credit limit on a credit card or line of credit&lt;/li&gt;
&lt;li&gt;Ask the applicant to provide a higher down payment or deposits for high ticket size loans such as mortgages or asset finance loans&lt;/li&gt;
&lt;li&gt;Charge a higher interest rate on a loan&lt;/li&gt;
&lt;li&gt;Charge a higher premium on insurance policies&lt;/li&gt;
&lt;li&gt;Ask high risk applicants for further documentation on employment, assets or income&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Despite of Risk scoring being used to evaluate levels of risks, they have also been applied in other operational areas , such as:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Streamlining the decision making process&lt;/li&gt;
&lt;li&gt;Reducing turnaround time for processing applications through automated decision making&lt;/li&gt;
&lt;li&gt;Evaluating quality of portfolios intended for acquisition through bureau-based generic scores.&lt;/li&gt;
&lt;li&gt;Setting economic and regulatory capital allocation.&lt;/li&gt;
&lt;li&gt;Forecasting&lt;/li&gt;
&lt;li&gt;Comparing the quality of business from different channels&lt;/li&gt;
&lt;/ul&gt;

&lt;blockquote&gt;
&lt;p&gt;The amount of confidence in any scorecard or model must be based on both the quality and quantity of the underlying data and decision making strategies adjusted accordingly. Models are very useful when used judiciously, along with policy rules and judgement, recognizing both their strengths and weaknesses. The most accurate model in the world will not help if  the financial institution chooses not to confirm any information from credit applicants or to verify identities. One need to be very realistic when it comes to using scorecards and not have an unjustified level of trust in them.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h2&gt;
  
  
  Reference
&lt;/h2&gt;

&lt;p&gt;Intelligent Credit Scoring &lt;/p&gt;

</description>
      <category>creditscoring</category>
      <category>analytics</category>
      <category>machinelearning</category>
      <category>bigdata</category>
    </item>
    <item>
      <title>Main Reasons Why Python is Recommended for Data Science</title>
      <dc:creator>Mary-softeng</dc:creator>
      <pubDate>Fri, 04 Mar 2022 10:51:05 +0000</pubDate>
      <link>https://forem.com/marysofteng/main-reasons-why-python-is-recommended-for-data-science-2428</link>
      <guid>https://forem.com/marysofteng/main-reasons-why-python-is-recommended-for-data-science-2428</guid>
      <description>&lt;ol&gt;
&lt;li&gt;&lt;p&gt;Python is easy to learn and its results are being achieved via few lines of code&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;It is cross platform meaning that the same code can work in multiple environments without needing any change.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;It excecutes faster than other similar languages used for data analysis like R and MATLAB.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;It has excellent memory management capability, especially garbage collection which makes it versatile in gracefully managing very large volume of data.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Python has a very large collection of libraries which serve as a special purpose analysis tools.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Python has packages which can directly use the code from other languages like Java and this helps in optimizing code performance by using existing code of other languages, whenever it gives a better results. &lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

</description>
      <category>python</category>
      <category>datascience</category>
    </item>
    <item>
      <title>RESOLUTIONS FOR DATA SCIENTIST</title>
      <dc:creator>Mary-softeng</dc:creator>
      <pubDate>Fri, 04 Mar 2022 10:31:05 +0000</pubDate>
      <link>https://forem.com/marysofteng/resolutions-for-data-scientist-7eb</link>
      <guid>https://forem.com/marysofteng/resolutions-for-data-scientist-7eb</guid>
      <description>&lt;p&gt;&lt;strong&gt;1. Deepen your subject matter expertise&lt;/strong&gt;&lt;br&gt;
As a data scientist, you need to deepen your familiarity with the domain of a given problem and non concentrating on the "Data Science" components.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. Align on security best practices&lt;/strong&gt;&lt;br&gt;
Security is a continuous practice that all data scientists should take seriously especially when it comes to the open-source tools. Since open source is such an integral part of the data scientist toolkit, it is crucial that practitioners keep up with patches, updates and vulnerabilities of their tools.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. Contribute to open source&lt;/strong&gt;&lt;br&gt;
Open source is an ecosystem of collaboration that transcends geographical locations, time zones and organizations. Take time to engage with the community that has brought us so many of today's intergyral backend technologies, while also expanding your professional network in learning new skills.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;4. Never Stop Learning&lt;/strong&gt;&lt;br&gt;
As a data scientist, you should keep on learning something new since the field keeps on changing and growing every time.&lt;/p&gt;

</description>
      <category>python</category>
      <category>machinelearning</category>
      <category>datascience</category>
      <category>ai</category>
    </item>
    <item>
      <title>JAVA METHODS</title>
      <dc:creator>Mary-softeng</dc:creator>
      <pubDate>Wed, 01 Dec 2021 10:33:54 +0000</pubDate>
      <link>https://forem.com/marysofteng/java-methods-1002</link>
      <guid>https://forem.com/marysofteng/java-methods-1002</guid>
      <description>&lt;p&gt;Java methods are block of codes which runs only when they are called and they are also known as functions since they can perform certain actions.&lt;br&gt;
How To Create Methods&lt;br&gt;
A method must be declared within a class and it is defined with the word method, followed by parentheses ().&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;public class Main{
  static void myMethod(){
  }
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;myMethod() is the name of the method&lt;br&gt;
static means that the method belongs to the Main class and not an object of the main class.&lt;br&gt;
void means that this method does not have a return value.&lt;/p&gt;

&lt;p&gt;Call A Method&lt;br&gt;
you call a method by writting the name of the method followed by two parentheses and a semicolon;&lt;br&gt;
A method can also be called multiple time.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;pubblic class Main{
  static void myMethod(){
    System.out.println("I am Java Method");
   }
 public static void main(String[] args) {
   myMethod();
   }
}
Output
I am Java Method
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Java Method Parameters&lt;br&gt;
Parameters and Arguments&lt;br&gt;
Parameters act as variables inside the method. They are specified after the method name , inside parentheses and they can be as many as possible separated with a comma.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;public class Main {
  static void myMethod(String fname, int age){
    System.out.println(fname + "is" +age);
  }
  public static void main(String[] args) {
   myMethod("Mary", 23);

  }
}
output
Mary is 23
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Return Value&lt;br&gt;
For a method to return a value, use primitive data types such as(int,char,etec) instead of void, and use the return keyword inside the method:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;public class Main{
  static int myMethod(int x) {
    return 7 + X;
   }
 public static void main(String[] args) {
   System.out.println(myMethod(5));
  }
}
outputs
12(7+5)
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;the sum of two parameters&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;public class Main{
  static int myMethod(int x, int y) {
    return x + y;
   }
 public static void main(String[] args) {
   System.out.println(myMethod(5,7));
  }
}
outputs
12(5+7)
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;It is highly recommended to store the resuly in a variable&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;public class Main{
  static int myMethod(int x, int y) {
    return x + y;
   }
 public static void main(String[] args) {
   int z =myMethod(5,3);
   System.out.println(z);
  }
}
outputs
12(5+7)
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;If...Else in Methods&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;public class Main{
//create a checkAge() method with an integer variable
  static void checkAge(int age){
    if (age&amp;lt; 18) {
         System.out.println("Access Denied");
   } else{
      System.out.println("Access granted");
    }
}
public static main(String[] args) {
  checkAge(20);
}
output
"Access granted"
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Method Overloading&lt;br&gt;
Method overloading means that multiple methods can have the same name with different parameters:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;public class Main {
  static int plusMethod(int x, int y) {
    return x + y;
  }

  static double plusMethod(double x, double y) {
    return x + y;
  }

  public static void main(String[] args) {
    int myNum1 = plusMethod(8, 5);
    double myNum2 = plusMethod(4.3, 6.26);
    System.out.println("int: " + myNum1);
    System.out.println("double: " + myNum2);
  }
}

output
int: 13
double: 10.5599
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Java Scope&lt;br&gt;
the scope means that variables are only accessible inside the region they are created&lt;br&gt;
Method Scope&lt;br&gt;
Variables declared directly inside a method are available anywhere in the method following the line of code in which they are declared:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;public class Main {
  public static void main(String[] args) {

    // Code here cannot use x

    int x = 100;

    // Code here can use x
    System.out.println(x);
  }
}

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Block Scope&lt;br&gt;
A block of code refers to all of the code between curly braces {}. Variables declared inside blocks of code are only accessible by the code between the curly braces, which follows the line in which the variable was declared:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;public class Main {
  public static void main(String[] args) {

    // Code here CANNOT use x

    { // This is a block

      // Code here CANNOT use x

      int x = 100;

      // Code here CAN use x
      System.out.println(x);

   } // The block ends here

  // Code here CANNOT use x

  }
}

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Java Recursion&lt;br&gt;
Recursion is the technique of making a function call itself. This technique provides a way to break complicated problems down into simple problems which are easier to solve.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;public class Main {
  public static void main(String[] args) {
    int result = sum(10);
    System.out.println(result);
  }
  public static int sum(int k) {
    if (k &amp;gt; 0) {
      return k + sum(k - 1);
    } else {
      return 0;
    }
  }
}
output
55
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;example explained&lt;br&gt;
When the sum() function is called, it adds parameter k to the sum of all numbers smaller than k and returns the result. When k becomes 0, the function just returns 0. When running, the program follows these steps:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;10 + sum(9)
10 + ( 9 + sum(8) )
10 + ( 9 + ( 8 + sum(7) ) )
...
10 + 9 + 8 + 7 + 6 + 5 + 4 + 3 + 2 + 1 + sum(0)
10 + 9 + 8 + 7 + 6 + 5 + 4 + 3 + 2 + 1 + 0
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



</description>
    </item>
    <item>
      <title>HOW TO RUN DATA SCIENCE PROJECT USING JUPYTER NOTEBOOK</title>
      <dc:creator>Mary-softeng</dc:creator>
      <pubDate>Fri, 27 Aug 2021 15:50:55 +0000</pubDate>
      <link>https://forem.com/marysofteng/how-to-run-data-science-project-using-jupyter-notebook-d8</link>
      <guid>https://forem.com/marysofteng/how-to-run-data-science-project-using-jupyter-notebook-d8</guid>
      <description>&lt;p&gt;&lt;strong&gt;Processes:&lt;/strong&gt;&lt;br&gt;
Download and install anaconda.&lt;br&gt;
Launch Jupyter notebook (anaconda3)&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fhqb6e28s6ainx5y0x9ip.JPG" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fhqb6e28s6ainx5y0x9ip.JPG" alt="Alt Text" width="800" height="425"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This will direct you to a web browser&lt;br&gt;
If you are creating a new project from the scratch, click New, then folder&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fc115sw12qsuedhii7xii.JPG" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fc115sw12qsuedhii7xii.JPG" alt="Alt Text" width="800" height="510"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Then open the new created folder and under new click python 3&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fbj1ao83h1mfrgdavas0z.JPG" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fbj1ao83h1mfrgdavas0z.JPG" alt="Alt Text" width="800" height="262"&gt;&lt;/a&gt;&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fpco0s0ulp9em1tcaqlp6.JPG" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fpco0s0ulp9em1tcaqlp6.JPG" alt="Alt Text" width="800" height="79"&gt;&lt;/a&gt;&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F12k2lsbv1nwc4kingisz.JPG" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F12k2lsbv1nwc4kingisz.JPG" alt="Alt Text" width="800" height="261"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Start by importing all the libraries the will be required while running the program and click Run to ensure that all the libraries are installed into your computer.&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fxu5ylgfebtsqsi5gp4jk.JPG" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fxu5ylgfebtsqsi5gp4jk.JPG" alt="Alt Text" width="683" height="212"&gt;&lt;/a&gt;&lt;br&gt;
Then load the dataset&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fbc13mkz8dqne5vucnfgm.JPG" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fbc13mkz8dqne5vucnfgm.JPG" alt="Alt Text" width="759" height="385"&gt;&lt;/a&gt;&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F8ujnul63omzuare517tt.JPG" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F8ujnul63omzuare517tt.JPG" alt="Alt Text" width="800" height="339"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Train the dataset&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fy62b7a3xexspbbcc0dfv.JPG" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fy62b7a3xexspbbcc0dfv.JPG" alt="Alt Text" width="800" height="512"&gt;&lt;/a&gt;&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fx94d10f068xv16vqlluc.JPG" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fx94d10f068xv16vqlluc.JPG" alt="Alt Text" width="694" height="369"&gt;&lt;/a&gt;&lt;br&gt;
Graphical representation of the output&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fxfty62b4ov2bipijdtl8.JPG" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fxfty62b4ov2bipijdtl8.JPG" alt="Alt Text" width="800" height="358"&gt;&lt;/a&gt;&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fic5mb3e9hl5uy7741kui.JPG" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fic5mb3e9hl5uy7741kui.JPG" alt="Alt Text" width="655" height="472"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>python</category>
      <category>jupyter</category>
      <category>datascience</category>
    </item>
    <item>
      <title>FASTAPI</title>
      <dc:creator>Mary-softeng</dc:creator>
      <pubDate>Wed, 11 Aug 2021 10:02:29 +0000</pubDate>
      <link>https://forem.com/marysofteng/fastapi-3j6p</link>
      <guid>https://forem.com/marysofteng/fastapi-3j6p</guid>
      <description>&lt;p&gt;what is FastAPI?&lt;br&gt;
FastAPI is a modern, fast (high-performance), web framework for building APIs with Python 3.6+ based on standard Python type hints.&lt;br&gt;
The key features are:&lt;br&gt;
•Fast: Very high performance, on par with NodeJS and Go.&lt;br&gt;
•Fast to code: Increase the speed to develop features by about 200% to 300%. &lt;br&gt;
•Fewer bugs: Reduce about 40% of human (developer) induced errors. &lt;br&gt;
•Intuitive: Great editor support. Completion everywhere. Less time debugging.&lt;br&gt;
•Easy: Designed to be easy to use and learn. Less time reading docs.&lt;br&gt;
•Short: Minimize code duplication. Multiple features from each parameter declaration. Fewer bugs.&lt;br&gt;
•Robust: Get production-ready code. With automatic interactive documentation.&lt;br&gt;
•Standards-based: Based on (and fully compatible with) the open standards for APIs: OpenAPI (previously known as Swagger) and JSON Schema&lt;br&gt;
How to install FastAPI&lt;br&gt;
Pipenv is used while setting up the development environment for our APIs. Pipenv makes it easier to isolate your development environment irrespective of what things are installed on your machine. It also lets you pick a different Python version than whatever is installed on your machine. It uses Pipfile to manage all your project-related dependencies. Use pip install FastApi in a command prompt.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fhel6xx6lmqlk1jbndwgt.JPG" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fhel6xx6lmqlk1jbndwgt.JPG" alt="Alt Text" width="491" height="76"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Once installed you can activate the virtual environment by running the command pipenv shell&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fdh28h9roa9qrxrxqd89k.JPG" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fdh28h9roa9qrxrxqd89k.JPG" alt="Alt Text" width="800" height="239"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;FastAPI Hello World&lt;br&gt;
Let’s get some practice with FastAPI! We’ll take a look at a simple Hello World! and break down the pieces.&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fbq8t8b8xhn31egnbs93y.JPG" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fbq8t8b8xhn31egnbs93y.JPG" alt="Alt Text" width="425" height="177"&gt;&lt;/a&gt;&lt;br&gt;
To start the server, we need to run the following command:&lt;/p&gt;

&lt;p&gt;Let’s break this down:&lt;br&gt;
•main: refers to the file name&lt;br&gt;
•app: refers to the object of FastAPI created inside the hello.py file&lt;br&gt;
•--reload: parameter that makes the server restart after the code changes&lt;br&gt;
Let’s break down our Hello World! code:&lt;br&gt;
•Line 1: We import FastAPI, which is a Python class that provides all the functionality for the API.&lt;br&gt;
•Line 3: We create an instance of the class FastAPI and name it app. This is the app referred to by uvicorn in the above command.&lt;br&gt;
•Line 5: We create a GET path.&lt;br&gt;
•Line 6: We define the function that will execute whenever someone visits the above path.&lt;br&gt;
•Line 7: We return a response to the client whenever the route is accessed.&lt;br&gt;
Basic FastAPI building blocks&lt;br&gt;
Let’s explore some of the building blocks of FastAPI, including path parameters, query parameters, and request bodies.&lt;br&gt;
Path parameters&lt;br&gt;
Path parameters help scope the API call down to a single resource, which means you don’t have to build a body for something as simple as a resource finder.&lt;br&gt;
These parameters are enclosed in curly brackets {}, and they offer a way for you to control the representation of specific resources. They’re placed before the query string and within the path of an endpoint.&lt;br&gt;
Let’s take a look at how to use them:&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Frtk7uqyb1nr0v3la8abm.JPG" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Frtk7uqyb1nr0v3la8abm.JPG" alt="Alt Text" width="493" height="180"&gt;&lt;/a&gt;&lt;br&gt;
The value of the path parameter course_name will be passed to the function read_couse() as the argument course_name.&lt;br&gt;
Query parameters&lt;br&gt;
Query parameters are optional. In FastAPI, function parameters that aren’t declared as part of the path parameters are automatically interpreted as query parameters.&lt;br&gt;
Let’s look at some sample code:&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fm7fj56zyt01iwedpp0y2.JPG" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fm7fj56zyt01iwedpp0y2.JPG" alt="Alt Text" width="800" height="203"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The query is the set of key-value pairs that comes after the question mark ? in a URL, separated by an ampersand &amp;amp;.&lt;br&gt;
Take a look at the following URL:&lt;br&gt;
&lt;a href="http://localhost:8000/courses/?start=0&amp;amp;end=10" rel="noopener noreferrer"&gt;http://localhost:8000/courses/?start=0&amp;amp;end=10&lt;/a&gt;&lt;br&gt;
Its query parameters are:&lt;br&gt;
start with a value of 0 and end with a value of 10.&lt;br&gt;
In line 8 of the code, we pass the two query parameters that our API would expect.&lt;br&gt;
Request body&lt;br&gt;
A request body is data sent by the client to your API. To declare one in FastAPI, we can use Pydantic models.&lt;br&gt;
Let’s see an example of how we can do this:&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F9mm1rkk4c4lt24ejr0ch.JPG" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F9mm1rkk4c4lt24ejr0ch.JPG" alt="Alt Text" width="427" height="322"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Let’s break this down:&lt;br&gt;
•Lines 1-3: We import the required packages.&lt;br&gt;
•Line 5: We declare the request data model.&lt;br&gt;
•Line 11: We create an instance of the FastAPI class.&lt;br&gt;
•Line 13: We create a POST path.&lt;br&gt;
•Line 14: We add the request data model to the path.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://colab.research.google.com/drive/1_LLiBhSQ1RZuHnnL7cE6ML9mwVV1h_Nb?usp=sharing" rel="noopener noreferrer"&gt;https://colab.research.google.com/drive/1_LLiBhSQ1RZuHnnL7cE6ML9mwVV1h_Nb?usp=sharing&lt;/a&gt;&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Introduction to Python Functions</title>
      <dc:creator>Mary-softeng</dc:creator>
      <pubDate>Fri, 30 Jul 2021 14:42:53 +0000</pubDate>
      <link>https://forem.com/marysofteng/introduction-to-python-functions-de1</link>
      <guid>https://forem.com/marysofteng/introduction-to-python-functions-de1</guid>
      <description>&lt;p&gt;What are python functions?&lt;br&gt;
Python Functions are a set of actions that we group together, and give a name to. The core functions in Python language includes string.title() and list.sort(). In python one can define his or her own functions, in order to "teach" Python new behavior.&lt;/p&gt;

&lt;p&gt;Advantages of using Python functions&lt;br&gt;
•We write a set of instructions once. We save some work in this simple example, and we save even more work in larger programs.&lt;br&gt;
•When our function works, we don't have to worry about that code anymore. Every time you repeat code in your program. Writing a function means there is one place to fix mistakes, and when those bugs are fixed, we can be confident that this function will continue to work correctly.&lt;br&gt;
•We can modify our function's behavior, and that change takes effect every time the function is called. This is much better than deciding we need some new behavior, and then having to change code in many different places in our program.&lt;/p&gt;

&lt;p&gt;Basic python syntax&lt;br&gt;
In Python a function is defined using the def keyword:&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ftjyrprdh3cap0mmjuc3j.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ftjyrprdh3cap0mmjuc3j.PNG" alt="Alt Text" width="438" height="85"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Calling a Function&lt;br&gt;
To call a function, use the function name followed by parenthesis:&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fw66m0u3nb69que7n81xv.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fw66m0u3nb69que7n81xv.PNG" alt="Alt Text" width="446" height="150"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Arguments in Python&lt;br&gt;
Information can be passed into functions as arguments.&lt;br&gt;
Arguments are specified after the function name, inside the parentheses. You can add as many arguments as you want, just separate them with a comma.&lt;br&gt;
The following example has a function with one argument (planguage). When the function is called, we pass along a programming language, which is used inside the function.&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fhmbk2mhlipbcrd24etfb.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fhmbk2mhlipbcrd24etfb.PNG" alt="Alt Text" width="456" height="263"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;NOTE: &lt;br&gt;
A parameter is the variable listed inside the parentheses in the function definition.&lt;br&gt;
An argument is the value that is sent to the function when it is called.&lt;/p&gt;

&lt;p&gt;Number of Arguments&lt;br&gt;
By default, a function must be called with the correct number of arguments. Meaning that if your function expects 2 arguments, you have to call the function with 2 arguments, not more, and not less.&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F3ku6ykej9locdx03rpnm.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F3ku6ykej9locdx03rpnm.PNG" alt="Alt Text" width="458" height="159"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Arbitrary Arguments, *args&lt;br&gt;
If you do not know how many arguments that will be passed into your function, add a * before the parameter name in the function definition.&lt;br&gt;
This way the function will receive a tuple of arguments, and can access the items accordingly:&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F7rd3q83gldz5k4onjxmh.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F7rd3q83gldz5k4onjxmh.PNG" alt="Alt Text" width="703" height="182"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Keyword Arguments&lt;br&gt;
You can also send arguments with the key = value syntax.&lt;br&gt;
This way the order of the arguments does not matter.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fiu2szu8vprtpet2bleg9.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fiu2szu8vprtpet2bleg9.PNG" alt="Alt Text" width="595" height="158"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Arbitrary Keyword Arguments, *&lt;em&gt;kwargs&lt;br&gt;
If you do not know how many keyword arguments that will be passed into your function, add two asterisk: *&lt;/em&gt; before the parameter name in the function definition.&lt;br&gt;
This way the function will receive a dictionary of arguments, and can access the items accordingly:&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fv2awo17342y30rzttnkd.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fv2awo17342y30rzttnkd.PNG" alt="Alt Text" width="466" height="157"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Default Parameter Value&lt;br&gt;
If we call the function without argument, it uses the default value:&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F8bwwimdaxtuw55h33srl.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F8bwwimdaxtuw55h33srl.PNG" alt="Alt Text" width="463" height="276"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Passing a List as an Argument&lt;br&gt;
You can send any data types of argument to a function (string, number, list, dictionary etc.), and it will be treated as the same data type inside the function.&lt;br&gt;
E.g. if you send a List as an argument, it will still be a List when it reaches the function:&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fcx108ipx39cmqrrhrhqq.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fcx108ipx39cmqrrhrhqq.PNG" alt="Alt Text" width="407" height="87"&gt;&lt;/a&gt;&lt;br&gt;
Return Values&lt;br&gt;
To let a function return a value, use the return statement:&lt;br&gt;
The pass Statement&lt;br&gt;
Function definitions cannot be empty, but if you for some reason have a function definition with no content, put in the pass statement to avoid getting an error.&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fo3kqjcyua9git9pz18ib.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fo3kqjcyua9git9pz18ib.PNG" alt="Alt Text" width="448" height="218"&gt;&lt;/a&gt;&lt;br&gt;
Recursion&lt;br&gt;
Python also accepts function recursion, which means a defined function can call itself.&lt;br&gt;
Recursion is a common mathematical and programming concept. It means that a function calls itself. This has the benefit of meaning that you can loop through data to reach a result.&lt;br&gt;
The developer should be very careful with recursion as it can be quite easy to slip into writing a function which never terminates, or one that uses excess amounts of memory or processor power. However, when written correctly recursion can be a very efficient and mathematically-elegant approach to programming.&lt;br&gt;
In this example, tri_recursion() is a function that we have defined to call itself ("recurse"). We use the k variable as the data, which decrements (-1) every time we recurse. The recursion ends when the condition is not greater than 0 (i.e. when it is 0).&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fckalikj4mmesmp4jasqj.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fckalikj4mmesmp4jasqj.PNG" alt="Alt Text" width="433" height="439"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://colab.research.google.com/drive/1SjCatUpRuRxsVJdsqKevanBmeS5OcWib?usp=sharing" rel="noopener noreferrer"&gt;https://colab.research.google.com/drive/1SjCatUpRuRxsVJdsqKevanBmeS5OcWib?usp=sharing&lt;/a&gt;&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Python Basics, Pythons 101!</title>
      <dc:creator>Mary-softeng</dc:creator>
      <pubDate>Fri, 23 Jul 2021 11:53:33 +0000</pubDate>
      <link>https://forem.com/marysofteng/python-basics-pythons-101-1b4d</link>
      <guid>https://forem.com/marysofteng/python-basics-pythons-101-1b4d</guid>
      <description>&lt;p&gt;Definition to Python&lt;br&gt;
Python is a general purpose language which has a wide range of applications from web development, scientific and mathematical computing (orange, SymPy, NumPy) to desktop graphical user interfaces such as pygame. Python programs have the extension .py and can be run from the command line by typing python file_name.py.&lt;/p&gt;

&lt;p&gt;Python Features&lt;br&gt;
1.A simple language which is easier to learn.&lt;br&gt;
Python has a very simple and elegant syntax which is much easier to read and write python programs compared to other programming languages. Python makes programming fun and allows you to focus on the solution rather than the syntax.&lt;br&gt;
2.Fee and open source-You can use freely use and distribute python, even for commercial use.&lt;br&gt;
3.Extensible and Embeddable-When an application requires high performance, you can easily combine pieces of C\C++ or other languages with python code. This will give your application high performance as well as scripting capabilities which other languages may not provide out of the box.&lt;br&gt;
4.A high-level, interpreted language-When you run python code, it automatically converts your code to the language your computer understands.&lt;br&gt;
5.Large standard libraries to solve common tasks-Python has a number of standard libraries which makes life of a programmer much easier since you do not have to write all the &lt;br&gt;
code yourself. Example, when you want to connect MySQL database on a web server, you can use MySQL library by using import MySQLdb.&lt;br&gt;
6.Object oriented-Everything in python is an object and this helps you to solve a complex problem intuitively.&lt;/p&gt;

&lt;p&gt;Applications of Python.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt; Web Application.
You can create scalable Web Applications using frameworks and Content Management System (CMS) that are built on python. Some of these platforms are Django, flask, pyramid, plone.&lt;/li&gt;
&lt;li&gt; Scientific and numeric Computing.
There are numerous libraries available in python for scientific and numeric computing&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Python Identifiers&lt;br&gt;
 A python identifier is a name used to identify a variable, function, class, module or other object. The following are the naming conversions for python identifiers:&lt;br&gt;
• Class names starts with an uppercase letters and all other identifiers with lowercase letters.&lt;br&gt;
• Starting an identifier with a single leading underscore indicates that the identifier is private.&lt;br&gt;
• Starting an identifier with two leading underscores indicates a strongly private identifier.&lt;/p&gt;

&lt;p&gt;Reserved Words&lt;br&gt;
Reserved words cannot be used as constants or variable or any other identifier names. All the python keywords contain lowercase letter only eg:&lt;br&gt;
and &lt;br&gt;
exec&lt;br&gt;
assert&lt;br&gt;
finally&lt;br&gt;
break&lt;br&gt;
for&lt;br&gt;
class&lt;br&gt;
from&lt;br&gt;
continue&lt;br&gt;
global&lt;br&gt;
def&lt;br&gt;
if&lt;br&gt;
del&lt;br&gt;
import&lt;br&gt;
elif&lt;br&gt;
in&lt;br&gt;
else&lt;br&gt;
except&lt;br&gt;
lambda.&lt;/p&gt;

&lt;p&gt;Lines and indentation&lt;br&gt;
Blocks of code are denoted by line indentation which is rigidly enforced. The number of spaces in the indentation is variable, but all statements within the block must be indented the same amount.&lt;/p&gt;

&lt;p&gt;Multi-line Statements&lt;br&gt;
Statements in Python typically ends with a new line. However, python allows the use of line continuation character () to dente that the line should continue.&lt;/p&gt;

&lt;p&gt;Quotation in Python&lt;br&gt;
Python accepts single (‘), double (“) and triple (‘”) quotes to denote string literals as long as the same type of quote starts and ends the string. The triple quotes are used to span the string across multiple lines.&lt;/p&gt;

&lt;p&gt;Comments in Python.&lt;br&gt;
 A hash sign (#) that is not inside a string literal begins a comment. All characters after the # and up to the end of the physical line are part of the comment and python interpreter ignores them.Triple quotes (‘’’) are used when commenting a block of statement&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fbajlf77er10crxhowjer.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fbajlf77er10crxhowjer.png" alt="image" width="451" height="49"&gt;&lt;/a&gt;&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F28ml28zqch604ijw2dla.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F28ml28zqch604ijw2dla.PNG" alt="Alt Text" width="350" height="68"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Python Variables.&lt;br&gt;
 Variables are reserved memory locations to store values.&lt;br&gt;
Assigning values to variables.&lt;br&gt;
The equal sign (=) is used to assign values to variables. The operand to the left is the name of the variable and the operand to the right of the = operator is the value stored in the variable.&lt;/p&gt;

&lt;p&gt;Multiple Assignment &lt;br&gt;
Python allows you to assign value to several variables simultaneously.&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fqm5b0htmyk7a1cwhl6vv.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fqm5b0htmyk7a1cwhl6vv.PNG" alt="Alt Text" width="293" height="113"&gt;&lt;/a&gt;&lt;br&gt;
Here, an integer object is created with the value 1 and all three variables are assigned to the same memory location.&lt;br&gt;
You can also assign multiple objects to multiple variables eg &lt;/p&gt;

&lt;p&gt;Here, two integer objects with values 1 and 2 are assigned to variables a and b respectively and one string object with value “John” is assigned to the variable c.&lt;br&gt;
Python Data Types.&lt;br&gt;
Python has five standard data types which includes:&lt;br&gt;
• Numbers&lt;br&gt;
• String&lt;br&gt;
• List&lt;br&gt;
• Tuple&lt;br&gt;
• Dictionary&lt;/p&gt;

&lt;p&gt;Python Numbers&lt;br&gt;
Number data types store numeric values. Number objects are created when you assign a value to them.&lt;/p&gt;

&lt;p&gt;Python supports four different numerical types.&lt;br&gt;
• Int (signed integers)&lt;br&gt;
• Long (long integers, they can also be represented in octal and hexadecimal)&lt;br&gt;
• Float 9floating point real values)&lt;br&gt;
• Complex (complex numbers)&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F8xama40oeq8wpan61z25.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F8xama40oeq8wpan61z25.PNG" alt="Alt Text" width="323" height="126"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Python strings&lt;br&gt;
Strings in python are identified as contiguous set of characters represented in quotation marks.&lt;br&gt;
The plus (+) sign is the string concatenation operator and the asterisk (*) is the repletion operator.&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F9y1wf7hkih0sw1gz1di5.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F9y1wf7hkih0sw1gz1di5.PNG" alt="Alt Text" width="318" height="114"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Python Operators&lt;br&gt;
Arithmetic: +, -, *, /, and % (modulus)&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fj705ntc5y3s3tl4uh40x.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fj705ntc5y3s3tl4uh40x.PNG" alt="Alt Text" width="396" height="446"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Comparison: ==! =, &amp;lt;, &amp;gt;, &amp;lt;=, &amp;gt;=&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fgah23jlnwxgaq3zwz481.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fgah23jlnwxgaq3zwz481.PNG" alt="Alt Text" width="442" height="178"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Logical: and, or, not&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fwv9n62to35nzf1zzjg34.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fwv9n62to35nzf1zzjg34.PNG" alt="Alt Text" width="606" height="216"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Exponentiation: **&lt;br&gt;
Execution: os.system ('ls -l')&lt;/p&gt;

&lt;p&gt;&lt;a href="https://colab.research.google.com/drive/1bXEWeKALGuY0h9kOd6PCFQ9THMNSP-FU?usp=sharing" rel="noopener noreferrer"&gt;https://colab.research.google.com/drive/1bXEWeKALGuY0h9kOd6PCFQ9THMNSP-FU?usp=sharing&lt;/a&gt;&lt;/p&gt;

</description>
    </item>
  </channel>
</rss>
