Skip to content

Instantly share code, notes, and snippets.

View Daniiarz's full-sized avatar
💘
Python

Daniiarz

💘
Python
View GitHub Profile
from ctypes import *
aa = int(input())
def find_temp(a):
return int((a * 1.8) + 32)
bb = c_int().value = find_temp(aa)
age_list = list(map(int, input().split(" ")))
def oldest(anton, boris, victor):
if anton == boris == victor:
return "Same age"
elif anton == max(age_list):
return (anton == boris and "Victor") or (anton == victor and "Boris") or "Anton"
@Daniiarz
Daniiarz / problem1.py
Last active September 18, 2019 06:36
import sys
word_list = [i[:-1] for i in sys.stdin.readlines() ]
for i in range(len(word_list)):
print("{}{}".format(" " * i if i != 0 else "", word_list[i]))