Skip to content

Instantly share code, notes, and snippets.

@nehalelkaref
nehalelkaref / poetry_generation.ipynb
Created May 28, 2022 01:11
poetry_generation.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@nehalelkaref
nehalelkaref / understanding-word-vectors.ipynb
Created August 4, 2020 15:24 — forked from aparrish/understanding-word-vectors.ipynb
Understanding word vectors: A tutorial for "Reading and Writing Electronic Text," a class I teach at ITP. (Python 2.7) Code examples released under CC0 https://creativecommons.org/choose/zero/, other text released under CC BY 4.0 https://creativecommons.org/licenses/by/4.0/
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
name=str(input())
age=int(input())
age_difference=100-age
year=2015 + age_difference
number_of_copies=int(input())
print((("Dear",name, ", you will be 100 years old in the year", year)*(number_of_copies))))