Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Presentation

Python Programming Modules with Sample Code, Maths, Random, String Methods

Rating
-
Sold
1
Pages
14
Uploaded on
07-02-2021
Written in
2020/2021

This presentation enlists the most commonly used programming modules in Python. I have made sample programs to illustrate how these modules work. The following topics are covered: Using Variables for Numeracy Maths Functions Random Module String Methods Number Functions

Show more Read less
Institution
GCSE

Content preview

Python Programming
Modules
1. Using Variables for Numeracy
2. Maths Functions
3. Random Module
4. String Methods
5. Number Functions

, Using Variables for Numeracy
Starter

In this example the program works out the total cost for purchasing four boxes of oranges and
six boxes of bananas where the price per box is £20.
This example uses data types int() and str() and then mathematical signs like Multiplication
and Addition




©2020 Haroon Makuza

Written for

Document information

Uploaded on
February 7, 2021
Number of pages
14
Written in
2020/2021
Type
PRESENTATION
Person
Unknown
£3.49
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Get to know the seller
Seller avatar
haroonma

Get to know the seller

Seller avatar
haroonma hihujik
View profile
Follow You need to be logged in order to follow users or courses
Sold
1
Member since
5 year
Number of followers
0
Documents
0
Last sold
4 months ago

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Trending documents

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their exams and reviewed by others who've used these revision notes.

Didn't get what you expected? Choose another document

No problem! You can straightaway pick a different document that better suits what you're after.

Pay as you like, start learning straight away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and smashed it. It really can be that simple.”

Alisha Student

Frequently asked questions