Forum in maintenance, we will back soon 🙂
Notifications
Clear all
Need help on modules for prompt engineering course
Prompt Engineering Basics
3
Posts
2
Users
2
Reactions
20
Views
Topic starter
I am stuck on one problem in the Module section. Can you solve this issue? I have attached the screenshots of the problem below.
Â
Posted : 08/31/2023 12:56 pm
Topic Tags
Hi Friend.
There is a problem with the syntax.
try this
avg = my_module.calculate_avarage(numbers) print(f"the average is {avg}")
Â
if you wanna call the function, you need to use the module name first and then call it.
Â
Posted : 08/31/2023 3:07 pm
Sourav Dutta reacted
Topic starter
@admin Thank you for your response. It works very well. Now I have understood the mistake that I had made.
Posted : 08/31/2023 3:24 pm
Hasan Aboul Hasan reacted
Forum Jump:
Related Topics
-
my_module is not working
8 months ago
-
Stuck at Part 1: "Connect with APIs"
12 months ago
-
Is it possible to create a website with WIX and offer similar AI tools like freeaikit.com?
1 year ago
Forum Information
Our newest member: Shaik Abdul Raheem
Latest Post: Affiliate tool.
Forum Icons:
Forum contains no unread posts
Forum contains unread posts
Topic Icons:
Not Replied
Replied
Active
Hot
Sticky
Unapproved
Solved
Private
Closed
[the_ad_group id="312"]