This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from ctypes import * | |
aa = int(input()) | |
def find_temp(a): | |
return int((a * 1.8) + 32) | |
bb = c_int().value = find_temp(aa) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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])) | |
NewerOlder