Skip to content

Write Code Online

my coding journey

Menu
  • Blog
  • Python
Menu

Month: August 2021

Python>>Strings: Indexing and Slicing

Posted on August 30, 2021 by coden00b

I will be showing more examples of indexing and slicing as a form of my practice to familiarize this. From the previous lesson/posts, the syntax for slicing as follows: string[start : end : step] Example1: (Indexing and Slicing in Strings) W r i t e C o d e O n l i n e…

Read more

Python>>Data Type:Strings

Posted on August 28, 2021 by coden00b

Strings are text type and are sequences of character data. It is represented by quotation marks, either single or double quotes. Example: “Hello” ‘What is your name?’ >>> “Hello” ‘Hello’ >>> x = ‘What is your name?’ >>> print (x) What is your name? >>> Some key notes: 1.Escape sequences in strings = use backslash…

Read more

Zero or Free SSL

Posted on August 27, 2021 by coden00b

I will quickly document how I installed the Free SSL for this website. Go to https://www.sslforfree.com Enter your website/domain name and click “Create Free SSL Certificate” Sign up for free account or Login if you already have one Click Create or New Certificate and click Next Step Choose 90-day Certificate and click Next Step Choose Auto-Generate…

Read more

Python>>Data Type:Float

Posted on August 26, 2021 by coden00b

Floating point number is real numbers with decimal point (.)or fractional part. It can be positive or negative. Example: 5678.90 -2.88 0.99 >>> z = -1.234 >>> type(z) <class ‘float’> Let’s do arithmetic: >>> x = 8+8.1 >>> print (x) 16.1 >>> print (type(x)) <class ‘float’> Some key notes: 1. numbers separated with underscore can…

Read more

Python>>Data Type:Integer

Posted on August 26, 2021August 26, 2021 by coden00b

Integers or Int are whole numbers without the decimal point or fractional part. It can be positive or negative or zero.It can be binary, octal or hexadecimal values. Let’s do mathematical calculation: Arithmetic operators:   addition = + subtraction = – multiplication = * division = / modulus = % exponent = ** floor division…

Read more

Basic Data Types in Python

Posted on August 26, 2021August 26, 2021 by coden00b

There are few data types in Python namely:   integers (int) – numeric type, whole numbers (can be positive or negative), e.g. 1,2,3 floating (float) – numeric type,numbers with decimal point, e.g. 1.1, 2.20, 3.450 complex (complex) – numeric type, real + imaginary,e.g. 5+6q strings (str) – text type, sequences of characters,e.g. “Euan”, “1234” dictionaries…

Read more

The immortal “Hello World”

Posted on August 26, 2021 by coden00b

To test our setup, we will going to run the very simple print code, and there’s no other contents better than the word “Hello World” Our very first code of course: print (‘Hello world’) Note: -it will be inside the open and close parenthesis -can use single or double quote There are few ways (in…

Read more

Python: Show me the Tools

Posted on August 26, 2021August 26, 2021 by coden00b

Trying to document as much as possible on what tools or apps am I going to use to learn Python.I’m running dual boot OS on my laptop and I switch once in a while OS: Windows 10 Pro 64-bit Ubuntu Linux 20.04 LTS Kernel 5.110-25-generic x86_64 Tools: Jupyter Notebook via Anaconda.com (Individual Edition) it comes…

Read more

Why I started this?

Posted on August 26, 2021August 26, 2021 by coden00b

-this is my first post and I created this blog just now -Am i just bored and nothing to do? maybe.Is like all of a sudden I feel like making this. Am i starting a my journey? a very looong journey I would say. -a journey to learn and write code ,why? -it’s been so …

Read more

Beta Post: Website is up!

Posted on August 26, 2021August 26, 2021 by coden00b

new gTLD domain name registered blog is up, themes, plugins,widgets,etc. setup freeSSL -let’s do this!

Read more

Recent Posts

  • Python>>Strings: Indexing and Slicing
  • Python>>Data Type:Strings
  • Zero or Free SSL
  • Python>>Data Type:Float
  • Python>>Data Type:Integer

RSS Linux Feeds

  • Secure Cron Permissions and Ownerships for Ubuntu Linux
  • Run Android Apps on Linux Part 2 : Install Genymotion and Google Playstore on Ubuntu
  • Run Android Apps on Linux : Install Anbox and Google Playstore on Ubuntu
  • Installation and Configuration of Conky and Conky-Manager on Ubuntu Linux
  • Quick Tip: Install Sticky Notes on Ubuntu 20.04 Linux

RSS Networking Feeds

  • Best Security Practices for Huawei Routers on Management Plane
  • Resequence Access Lists on Cisco Routers (IOS, IOS-XE, IOS-XR, Nexus-OS)
  • Cisco RPL vs Huawei XPL Route Policy Language Configuration
  • OSPF and OSPFv3 Configuration on Huawei Routers
  • EBGP Configuration on Huawei Router

Recent Comments

No comments to show.

Archives

  • August 2021

Categories

  • blog
  • python
© 2022 Write Code Online | Powered by Minimalist Blog WordPress Theme
  • bitcoinBitcoin(BTC)$20,317.00-2.58%
  • ethereumEthereum(ETH)$1,159.55-3.06%
  • tetherTether(USDT)$1.000.07%
  • usd-coinUSD Coin(USDC)$1.000.15%
  • binancecoinBNB(BNB)$232.76-0.56%
  • Binance USDBinance USD(BUSD)$1.00-0.21%
  • rippleXRP(XRP)$0.341304-3.67%
  • cardanoCardano(ADA)$0.475151-2.22%
  • SolanaSolana(SOL)$36.16-5.72%
  • dogecoinDogecoin(DOGE)$0.067963-5.76%