-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathKeywords.txt
More file actions
26 lines (26 loc) · 753 Bytes
/
Keywords.txt
File metadata and controls
26 lines (26 loc) · 753 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
string
text in python
int
function to turn strings into integer
float
function to turn strings into floats (numbers with decimal parts)
list
a datatype used to store multiple values
for
keyword used to repeat a certain number of times
while
keyword used to repeat until a condition is met
if
keyword used in selection between 2 or more options
file
function used to open a file
readlines
function used to read the contents of a file into a list
split
method to split an string into a list
strip
string method used to strip off blanks and non printable charactes from ends of a string
ljust
string method used to add blank spaces to the right of a string (left justify)
rjust
string method used to add blank spaces to the right of a string (left justify)