Learning Code
The books I reading to learn python
-PYTHON CRASH COURSE By eric Matthes
-Cracking code with Python BY al Sewelgart
-Automate the Boring Stuff With Python
-Dive Into algorithm By Braford Tuckfileld
Project
This project put what I know into a program. The program allow you to login then add a new user, password.
What I learned so far
print(Hello world)
Variables
message = "hello world"
print(message)
Strings
"This is a string."
'This is also a string.'
name = "Hello World"
print(name.upper())
print(name.lower())
Concatenating String
first_name = "Alex"
last_name = "Babcock"
full_name = first_name +" "+last_name
message ="Hello, " +full_name.title() +"!"
print(full_name)
print(message)
Adding adding tab and newline
print("Languages:\n\tPython\n\tC\n\tJavaScript")
Stripping Whitespace
favorite_language = 'python '
print(favorite_language.rstrip())