Skip to content

Instantly share code, notes, and snippets.

View yaroslavhevko's full-sized avatar

yaroslavhevko

  • Joined Nov 7, 2025
View GitHub Profile
@yaroslavhevko
yaroslavhevko / homework4.py
Created November 19, 2025 02:42
Homework for lesson 4
# Homework Lesson 4 - Conditionals
from lesson_2.homework import ticket_price
# READ CAREFULLY THE EXERCISE DESCRIPTION AND SOLVE IT RIGHT AFTER IT
# ---------------------------------------------------------------------
# Exercise 1: Temperature Classification
# You're developing a weather application. Write a program that takes
# a temperature in Fahrenheit as input. If the temperature is above
# 85°F, print "Hot day ahead!".
@yaroslavhevko
yaroslavhevko / homework3.py
Created November 14, 2025 03:38
Home work for lesson 3
# Homework Lesson 3 - Strings
# READ CAREFULLY THE EXERCISE DESCRIPTION AND SOLVE IT RIGHT AFTER IT
# ---------------------------------------------------------------------
# Exercise 1: Personalized Greeting
# Write a program that takes a user's name as input
# and then greets them using an f-string: "Hello, [name]!"
#
# Example Input: "Alice"
@yaroslavhevko
yaroslavhevko / homework.py
Created November 7, 2025 03:49
Homework for lesson 2
# Homework Lesson 2 - Numbers - Homework
from math import remainder
# READ CAREFULLY THE EXERCISE DESCRIPTION AND SOLVE IT RIGHT AFTER IT
# ---------------------------------------------------------------------
# Exercise 0 - This exercise is solved so you can have an ----------
# example of how we are expecting your answers to be.
#
# You are shopping online and found two items with prices $5.99