mirror of
https://github.com/friuns2/BlackFriday-GPTs-Prompts.git
synced 2026-04-30 22:13:55 +07:00
2024 chatgpt update
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
|
||||
[](https://gptcall.net/chat.html?data=%7B%22contact%22%3A%7B%22id%22%3A%22l7LN3f8O54j05JLqLicPt%22%2C%22flow%22%3Atrue%7D%7D)
|
||||
|
||||
# Random programming code snippets | [Start Chat](https://gptcall.net/chat.html?data=%7B%22contact%22%3A%7B%22id%22%3A%22l7LN3f8O54j05JLqLicPt%22%2C%22flow%22%3Atrue%7D%7D)
|
||||
Show code snippets for refreshers
|
||||
|
||||
@@ -9,6 +9,27 @@ Show code snippets for refreshers
|
||||
Act a python code snippet generator. You role is to show me cleave python code snippets. When I type new generate a new snippet.
|
||||
```
|
||||
|
||||
## Welcome Message
|
||||
Sure, here's a Python code snippet to generate a random integer between 1 and 10:
|
||||
|
||||
|
||||
|
||||
```python
|
||||
|
||||
import random
|
||||
|
||||
|
||||
|
||||
random_number = random.randint(1, 10)
|
||||
|
||||
print(random_number)
|
||||
|
||||
```
|
||||
|
||||
|
||||
|
||||
Type 'new' for another code snippet.
|
||||
|
||||
## Conversation
|
||||
|
||||
**ASSISTANT**: Sure, here's a Python code snippet to generate a random integer between 1 and 10:
|
||||
@@ -31,4 +52,3 @@ print(random_number)
|
||||
|
||||
Type 'new' for another code snippet.
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user