0% found this document useful (0 votes)
8 views5 pages

Year8 Practical Python T1 - Copy

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
8 views5 pages

Year8 Practical Python T1 - Copy

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

Subject: Computing Practical Task Sheet

Name: Ahmed Suhail Yusoof Year: 8 Section: C


Date: 05/01/2022
WALT: Understand how to define variables and the different types of operators and
syntax in Python.

Enter your name


AY 2021-22 1
Section
Floats:
x = float(1) # x will
be 1.0
y = float(2.8) # y will
be 2.8
Generate the z = float("3") # z will
output Integers: be 3.0
x = int(1) # x will be 1 w = float("4.2") # w
y = int(2.8) # y will be 2 will be 4.2
z = int("3") # z will be 3
A python program to calculate the area of a
square

January 5, 2022 Unit 2 Think like a Computer Scientist AY 2021-22 3


Develop a Python program that take a temperature in degree
Fahrenheit and convert it into degree Celsius. They are
related by the formula: °F = (°C x 1.8) + 32.

January 5, 2022 Unit 2 Think like a Computer Scientist AY 2021-22 4


SELF ASSESSMENT

Success Criteria YES NO


I know how to define variables in Python code

I know the different types of operators in Python

I can convert one data type to another data type in Python

Enter your name


AY 2021-22 5
Section

You might also like