Skip to content

Commit

Permalink
correct inp initialization in avogadro.py
Browse files Browse the repository at this point in the history
  • Loading branch information
saadati944 committed Jan 15, 2021
1 parent b5b8105 commit 31eaa9d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions avogadro.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ def main():
k T
D = ―――――――――
6 π Ƞ ρ
calculate the k.
k is the boltzmann constant
Expand All @@ -19,7 +19,7 @@ def main():
A = ―――
k
'''
inp = input().split('\n')
inp = []
while not stdio.isEmpty():
inp.append(stdio.readFloat())

Expand All @@ -35,7 +35,7 @@ def main():
# print resaults
print('Boltzman :', k, '\nAvogadro :', (8.31446/k))



if __name__ == "__main__":
main()
main()

0 comments on commit 31eaa9d

Please sign in to comment.