Python Worksheets - Computer Science
Python Worksheets - Computer Science
Python Worksheets - Computer Science
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
For example:<br />
if (input == ‘a’)<br />
…<br />
do something<br />
…<br />
else<br />
…<br />
do something else<br />
…<br />
3. Compute the temperature in Fahrenheit or Celsius:<br />
F = (9/5)*C+32<br />
C = (5/9)*(F-32)<br />
4. Print the Result<br />
12