- Author:
- Sertaç ATEŞ
- Subject:
- Computer Science, Engineering, Information Science, Elementary Education, Higher Education, Special Education, Mathematics
- Material Type:
- Activity/Lab, Homework/Assignment, Unit of Study
- Level:
- Middle School, High School, Community College / Lower Division, College / Upper Division
- Tags:

- License:
- Creative Commons Attribution Non-Commercial Share Alike
- Language:
- English, Turkish
- Media Formats:
- Downloadable docs, Text/HTML, Other

# Education Standards

# Python Kod Örnekleri 02 / Python Coding Examples 02

# Python Kod Örnekleri 03 / Python Coding Examples 03

# Python Kod Örnekleri 04 / Python Coding Examples 04

# Python Kod Örnekleri 05 / Python Coding Examples 05

# Python Kod Örnekleri-06

# Python Kod Örnekleri 07 / Python Coding Examples 07

# Let's code! Python Coding Examples :)

## Overview

This is a seven-problem set to use to practise Python Programming Language basics by solving problems. This set has been used at Izmir Fen Lisesi (A Science High School) since 2019.

# Python Kod Örnekleri 01 / Python Coding Examples 01

This pdf document has been used at Izmir Fen Lisesi (A Science High School) since 2019

Let's solve problems using Python Programming Language

**Problem:**

Deniz likes to play rock, paper and scissors with her schoolmates. Sometimes she plays rock, paper and scissors with her friends to resolve disputes and sometimes just for fun. She thinks how she can play this game alone. Can you help Deniz by writing a Python Program where Deniz can play stones, paper and scissors on her own?

# Python Kod Örnekleri 02 / Python Coding Examples 02

This pdf document has been used at Izmir Fen Lisesi (A Science High School) since 2019

Let's solve problems using Python Programming Language

Problem:

Deniz learned a new magic. She tells a friend to keep a number between 0 and 100 in her mind. Deniz asks whether the number that her friend keeps is bigger than what Deniz has said. Deniz finds this number up to seven times. Her friends line up to see Deniz's magic show and they try to keep a number that Deniz couldn't find 7 times. However, Deniz always finds the number that her friends keep. Although their friends cannot find Deniz's secret, they want to play this game without Deniz. Deniz thinks how they can play this game alone. Can you help Deniz's friends by coding a Python Program that Deniz's friends can play alone?

# Python Kod Örnekleri 03 / Python Coding Examples 03

This pdf document has been used at Izmir Fen Lisesi (A Science High School) since 2019

Let's solve problems using Python Programming Language

Problem:

Deniz has discovered a new mischief! (Caesar cipher) While she was messaging with her friends in the lesson, the teacher or her friends could read the writings she wrote on the paper. However, Deniz wanted nobody to understand the message except the person concerned. Can you help Deniz and her friend by writing a Python Program that can help Deniz and her friend in this mischief?

# Python Kod Örnekleri 04 / Python Coding Examples 04

This pdf document has been used at Izmir Fen Lisesi (A Science High School) since 2019

Let's solve problems using Python Programming Language

Problem:

Deniz's teacher has said "Palindrome is a word, phrase, or sequence that reads the same backwards as forwards" and asked her students to give an example of a palindrome. Deniz does not want to tell her teacher without making sure that the word, phrase, or sequence she finds is Palindrome. Can you help Deniz by coding the Python Program that finds if the sample Deniz finds is a Palindrome?

# Python Kod Örnekleri 05 / Python Coding Examples 05

This pdf document has been used at Izmir Fen Lisesi (A Science High School) since 2019

Let's solve problems using Python Programming Language

Problem:

Sertaç ATEŞ, Teacher of Informatics Technologies to Deniz, said that a strong password consists of more than 7 characters and should contain lowercase letters, uppercase letters, numbers and special characters. Then Sertac teacher asks Deniz to give a strong password example. Deniz does not want to say in the class without verifying that the password she finds is strong. Can you help Deniz by coding the Python Program that states if the sample password Deniz finds is strong?

# Python Kod Örnekleri 06 / Python Coding Examples 06

This pdf document has been used at Izmir Fen Lisesi (A Science High School) since 2019

Let's solve problems using Python Programming Language

Problem:

Deniz, who likes mathematics, has learned to calculate the root of equations with a second-order unknown equation and draws graphs, but cannot control whether the calculations or the graph she draws are correct. Can you help Deniz by coding the Python Program, which performs calculations and plots the equation that can compare whether Deniz's results or the graph it draws is correct?

# Python Kod Örnekleri 07 / Python Coding Examples 07

This pdf document has been used at Izmir Fen Lisesi (A Science High School) since 2019

Let's solve problems using Python Programming Language

Problem:

Deniz, who likes math, wants to prepare a simulation to take precautions this time. As she travels in the middle of the road with her bike, she wants to see how far she can go by going right or left without hitting the sidewalks. The distance between the sidewalks and the number of pedals will be given as input. Can you help Deniz to simulate how far she can go?