Saideep Gona
October 4, 2023
import os, sys import h5py import numpy as np import matplotlib.pyplot as plt
y=[x for x in range(1000)] print(reversed(y))
NameError: name 'reverse' is not defined
plt.plot(x=[x for x in range(1000)],y=[x for x in range(1000)].reverse())
TypeError: plot() got an unexpected keyword argument 'x'