Assume is s a string of lower case characters.Write A program This prints the longest substring of in s which the letters occur in alphabetical order. For example, if s = ‘azcbobobegghakl‘ , then your program should printLongest substring in alphabetical order Is:begghIn the case of ties, print the first substring. For example, if s = ‘abcbcd‘ , then your program should printLongest substring in alphabetical order IS:ABC# Paste Your code into this boxCount = 1result = S[0]While S:Newcount = 1New
is my simple record, for Mac OS system, other systems please download the appropriate files for installation:
1. Installation VirtualBox
Download Address: Https://www.virtualbox.org/wiki/Downloads
I downloaded the 4.2.16 version of the DMG file: VirtualBox 4.2.16 for OS X hosts
2. Installation vagrant
Download Address: http://downloads.vagrantup.com
I downloaded the v1.2.7 version of the DMG file: VAGRANT-1.2.7.DMG
3, to establish the relevant directory and download the
Premise:1. Install Ubuntu2. use vagrant+virtualbox to build the EdX Developer Stackon ubuntn and to successfully access3. Pycharm-3.4.1 is installed and activated successfully under Ubuntu4. future development in Ubuntu environmentPreparatory work:1. convert path to native /devstack/2. turn on vagrantand enter the command:Vagrantup3. using ssh connection vagrant, enter the command:Vagrantssh4. give the edxapp account A password, enter the command:SU
After practicing for several days edx Devstack, found himself e is still so poor, if and I like, continue to look down, otherwise you can gently drift over ~1. Run the edx devstackCd/devstackVagrant upVagrant SSH(The above should be more familiar with:)This article refer to Https://github.com/edx/edx-platform/wiki/Inte
Label: Ar c working time r as Rom net 5CATEGORY first, 1. skill category; 2. improvement category; 3. Interest category.I have completed the first six courses of Andrew Ng ml, UW computer network, and dataset cience on Coursera.In the future, the service will be guaranteed to be 25 hours a week, with an average of 2.5-3 hours per working day and 11 hours on weekends. In this way, three courses can be conducted at the same time in less than ten weeks, it also needs to be arranged according to the
Note: During addition calculation, it is actually performed on a 32-bit accumulators, and pay attention to the conversion between types. Data truncation problems generally include ax, BX, CX, Dx.
Ax: cumulative latches, Bx: Base latches, CX: Count latches, DX: Data latches
Index latches: Si and Di
Si: source index storage, DI: Destination index Storage
Stack and base latches: SP and BP
SP: stacked indicator latches, BP: Base Indicator latches
Eax, ECx,
Functions of EAX, ECX, EDX, and EBX registers, ecxebx
General registers: AX, BX, CX, DXAX: cumulative latches, BX: Base latches, CX: Count latches, DX: Data latchesIndex latches: SI and DISI: source index storage, DI: Destination index StorageStack and base latches: SP and BPSP: stacked indicator latches, BP: Base Indicator latchesEAX, ECX, EDX, and EBX: extensions of ax, bx, cx, and dx, each of which is 32
Recently, due to work, an open EdX instance was installed in Ubuntu virtual machine on Azure, and the installation process encountered a lot of problems, and learned different knowledge in the process of finding the answer from the Internet.Create an authentication certificate file for SSHWhen connecting to an Ubuntu virtual machine using the Putty (http://www.putty.org/) tool, two options are available for authentication: username + password; Another
Eax, EBX, ECx, EDX, ESI, EDI, EBP, ESP, etc. are the names of General registers on the CPU in x86 assembly language, and are 32-bit registers. These registers can be viewed as variables in C language.
For example:Add eax,-2;// It can be considered that a value such as-2 is added to the variable eax.
These 32-bit registers have multiple purposes, but each of them has "expertise" and has its own special features.
EaxIt is an accumulator, which is t
From: http://hi.baidu.com/helloembed/blog/item/2fd65453843120511038c21a.html
Eax, EBX, ECx, EDX, ESI, EDI, EBP, ESP, etc. are the names of General registers on the CPU in x86 assembly language, and are 32-bit registers. These registers can be viewed as variables in C language.
For example: Add eax,-2; // it can be considered to be a value such as-2 added to the variable eax.
These 32-bit registers have multiple purposes, but each of them has "experti
Organize from the Internet
Eax, EBX, ECx, EDX, ESI, EDI, EBP, ESP, etc. are the names of General registers on the CPU in x86 assembly language, and are 32-bit registers. These registers can be viewed as variables in C language.
For example: Add eax,-2; // it can be considered to be a value such as-2 added to the variable eax.
These 32-bit registers have multiple purposes, but each of them has "expertise" and has its own special features.
Eax is the ac
project, mixed with multi-lingual, multi-database. Python is the main development language, and as of today, Python accounts for 71.6% of the total code in the core library. Some of the things that were written in Ruby were recently rewritten in Python, but the mix has not changed much over a long period of time. The edx
de facto standard?
In other words, thefuck is not very tall. _ (: 3 "outputs) _ list of excellent Python projects (awesome-python)
Vinta/awesome-python · GitHub
Pycrumbs/pycrumbs. md at master · kirang89/pycrumbs · GitHub
Svaksha/pythonidae · GitHub
Checkcheckzz/python-github-projects · GitHub
Rasbt/python_refere
to recommend MIT python on The EDX platform.
Data analysis:
What I know is:
1. JHU's data science is a bit confusing!
2. The R language is required! Therefore, Duke statistics and analysis are strongly promoted.
Note: There is a mooc navigation website under the fruit shell network flag, which is doing well. Many courses have notes from our predecessors. You can take a look at the evaluation. (A large num
Baptism soul, practice python (2) -- python installation and configuration, python -- python
Install python and basic configurations:
Python Official Website: www.python.org
Open the website and download the corresponding version
to provide a friendly Testing hardware environment, Python needs to be able to access it. A module called "bits" is added to provide access to various hardware functions, such as CPUID, special module registers (MSRs), I/O ports, and memory ing I/O. He demonstrated these capabilities with several lines of code.
>>> Import bits >>> from ctypes import * >>> c = bits. cpuid (0, 0) >>> c cpuid_result (eax = 0x ..., ebx = ..., ecx = ...,
Python learning notes-python program running, python-python
I am a beginner in python and write down some of my ideas. Please ignore it.
Install the python editor and configure the environment (see install and configure
own, you are not used to the Stata programming method, so the code is not easy to reuse. Do File is a long time and you will feel a little messy. Furthermore, matrix operations and operations are not very useful.
Later, I became interested in data science and machine learning and offered Python-based courses on platforms such as edX, Coursera, and Udacity. The most useful learning tools are the two
basis (such as me) to learn, still remember the first class, because the Python2 and Python3 confused, Leng toss for 3 hours ...
The course of data science is now charged and is a series of courses, and I went to two of them, of course, for free, and it was all about analytics, but not in Python but in the R language.
I like the teacher in Python more than I do in two courses. There is a called the Nanjing
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.