Day 6 | Learn Basic Scripting in Python: Task 1

SAVE

Posted on: July 22nd, 2020

Day 6 | Learn Basic Scripting in Python: Task 1

Date: 30.06.2020

Task 1

Software used: Python, Jupyter notebook

Tools Used: Jupyter notebook

The session was to learn basics of scripting in python. The session covered basics functions such as use of string, tuple, list, if, while, class, float, input, decimal, integer, math, type, str(), append,def.

Script to done to understand strings and integers.

 

Script done to understand function of input, integer and strings.

 

Script done to understand function in combination of the use of tuple, integer and strings.

 

Script done to understand math function.

 

Script done using sin() function to understand mathematical operations.

 

Use of list ‘[]’ function and append method to the script.

 

Script done to understand use of functions such as if, elif and while.

 

Script done to understand use of functions such as class, def, self, init, add, return.

 

Script done to understand ‘while’ function.

 

Script done to understand the use of functions such as class, math, def, init, add, sub, self.

Read More:

Subscribe to our newsletter