The application is not returning data back to the user and iscausing a 100% memory utilization when ran. What code correctionwill resolve this?
a) Set a break statement within the loop to meet a returncondition
b) Increment the loop with the x = x-1 to meet a returncondition
c) Run strace on the python program and determine the issue
d) Increment the loop with the x = x+1 to meet a returncondition
#!/usr/bin/env python3 input('enter a number: ¹) y = int(x) + 1 def myfunction(x): while float(x) <=100: float(x) * 0 y = int(x) 1 print('hello student') return x myfunction(x)
The application is not returning data back to the user and is causing a 100% memory utilization when ran. What code corr
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am